1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / interpreter / pyparser / error.py

Author Commit Message Date Builds
Hakan Ardo
svn merge -r79225:HEAD svn+ssh://hakanardo@codespeak.net/svn/pypy/trunk
Branches
jit-unroll-loops
Maciej Fijalkowski
fishy fishy fish. A hackish way of introducing correct errors. The thing is that I failed a bit to do it correct way, so I introduce cpython-like scheme of storing error encountered for some examples.
Maciej Fijalkowski
a go at IndentationError. not fixing now everything yet
Michael Hudson-Doyle
suggestions from 'importfun' about interpreter: remove unused imports, change some imports to import from the module that defines the name, not some other module that also imports it.
Anders Chrigström
Get correct default.
Anders Chrigström
Use SyntaxError consistently. Add linenumber info to SyntaxErrors.
Ludovic Aubry
change type(x) == y into isinstance(x,y) remove usage of raise StandardError("xxx %s" % obj) by replacing standard exceptions with user defined exceptions this will need to be done better later for cpython compliancy
Samuele Pedroni
has_key -> in solved some other cases of mixed None and ints don't use hasattr on valid_future
Ludovic Aubry
added SyntaxError class because we raise it and it needs to be annotatable
Armin Rigo
Unified the exceptions raised by the parser.