support for some Python 3 (or 2.6+) syntax features (found by test_grammar.py in...
authorStefan Behnel <scoder@users.berlios.de>
Thu, 28 Jan 2010 22:05:39 +0000 (23:05 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 28 Jan 2010 22:05:39 +0000 (23:05 +0100)
commitbe8d379841f4651df32f44860ae9cc683e171565
tree4882901e2259937ec32a9ec1c2a8bd5e0d654f13
parent9ea6a3982c322af5f7a542291d5b442b0f6f1823
support for some Python 3 (or 2.6+) syntax features (found by test_grammar.py in Py3.1.1):
- oct/bin notation: 0o12345, 0b10101
- function annotations (only pure syntax support, not currently used)
also: allow decorators on inner functions
Cython/Compiler/ExprNodes.py
Cython/Compiler/Lexicon.py
Cython/Compiler/Nodes.py
Cython/Compiler/Parsing.pxd
Cython/Compiler/Parsing.py
Cython/Utils.py