Source

pypy / pypy / interpreter / pycompiler.py

Author Commit Message Labels Comments Date
Alex Gaynor
Backout the change to use mandatory flags everywhere, this breaks relative imports, as absolute import is marked as mandator in 2.7, but it obviously isn't. Further, CPython doesn't seem to do it, and I can't find any actual advantage to it.
Benjamin Peterson
technically we should always have mandatory __future__ flags
Benjamin Peterson
actually add future related flags when compiling user ast (closes #795)
Benjamin Peterson
detect future features after source is in utf-8 This should fix #732.
Amaury Forgeot d'Arc
Check node type when compiling an AST tree
Branches
fast-forward
Benjamin Peterson
use 2.7 future flags
Branches
fast-forward
Amaury Forgeot d'Arc
Typo, fix tests in pypy.module._ast
Benjamin Peterson
move compiler imports to toplevel
Benjamin Peterson
remove CPythonCompiler Our compiler is good enough nowdays, and it's annoying to maintain the CPython interface. Also remove the useless objspace.parser option.
Benjamin Peterson
kill import
Benjamin Peterson
remove pointless except
Armin Rigo
Add an XXX.
Benjamin Peterson
rename future.py to be consistent with the rest of the compiler
Armin Rigo
(fijal, arigo) Kill the --pyversion command-line option. Always use 2.5 for now.
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
Armin Rigo
svn merge -r58379:59313 svn+ssh://codespeak.net/svn/pypy/dist
Maciej Fijalkowski
Check-in merge attempt. Diff is to huge to read it.
Anders Chrigström
Merge the __future__ mending from the dist-future-fixing branch, but skip the parser refactorings.
Justas Sadzevicius
(Arlo, Justas) Introduce --pyversion option to select the parser/compiler grammar Defaults to 2.4, also accepts 2.3 and 2.5a. Changed a bunch of imports to use the selected grammar. TODO: pypy/interpreter/pyparser/symbol.py uses a fixed list of symbols, and it shouldn't
Justas Sadzevicius
(Arlo, Justas) A test that compiling a file with import from __future__ does not affect compilation of other files Yes, more whitespace removed (blame Justas)
Justas Sadzevicius
(Arlo, Justas) Ate trailing whitespace
Alexandre Fayolle
Changed compile_hook prototype to provide a filename Updated the hooksamples to the new API, and let the use the ASTMutator base clasChanged point cut definition syntax to allow specifying a module and a classname (classname filtering not implemented yet, module filetering is available) Use logging in aop.py to ease debugging Heavy refactoring of aop.py
Alexandre Fayolle
merge ast-experiments branch in the trunk. The ast branch being in a weird state, I'm merging this by hand (as suggested on IRC by mwh and cfbolz). Here follows the commit messages for the ast-experiments branch. ------------------------------------------------------------------------ r39399 | afayolle | 2007-02-26 08:45:45 +0100 (lun, 26 fév 2007) | 5 lines merge trunk with branch svn merge -r 38798:39398 svn+ssh://codespeak.net/svn/…
Carl Friedrich Bolz
revert the 39432 merge (because there were problems).
Alexandre Fayolle
Merge ast-experiments branch in the trunk svn merge -r 22393:39399 svn+ssh://codespeak.net/svn/pypy/branch/ast-experiments
Michael Hudson-Doyle
remove the extremely-rarely-not-[] argument from the newdict operation.
Armin Rigo
Massive untabify.
Michael Hudson-Doyle
(misto, mwh) Remove broken compiler hooks.
Armin Rigo
(pedronis, arigo) Fix strange except:. (thanks fijal)
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next