summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ParseTreeTransforms.py
Commit message (Collapse)AuthorAgeFilesLines
* correctly tie one PyCodeObject instance to one function to allow for proper ↵fixed_code_objectsStefan Behnel2016-07-311-3/+1
| | | | tracing and profiling
* reformat some codeStefan Behnel2016-07-311-2/+1
|
* Add infrastructure for migrating options to compiler directives.Robert Bradshaw2016-07-271-4/+3
|
* Lower level for old property syntax use.Robert Bradshaw2016-03-191-3/+3
|
* Merge pull request #469 from linkmauve/check-cclass-defineRobert Bradshaw2016-02-021-0/+2
|\ | | | | Don’t crash when a C class isn’t defined in the pxd
| * Don’t crash when a C class isn’t defined in the pxd.Emmanuel Gil Peyrot2015-12-091-0/+2
| | | | | | | | Fixes #279
* | Don't warn for uses of old property syntax in utility code.Robert Bradshaw2015-12-011-1/+3
| |
* | Deprecate the 'property …:' syntax, as suggested in #462.Emmanuel Gil Peyrot2015-11-301-0/+4
|/
* repair fused def codeStefan Behnel2015-11-071-3/+3
|
* fix compiled compiler runStefan Behnel2015-11-071-1/+1
|
* merge DecoratorTransform and PropertyTransformStefan Behnel2015-11-071-35/+31
|
* reject properties with additional decorators in cdef classesStefan Behnel2015-11-071-23/+33
|
* refactor and simplify PropertyTransformStefan Behnel2015-11-071-34/+34
|
* Add a pass transforming Python-style properties in cdef class into ↵Emmanuel Gil Peyrot2015-11-051-0/+69
| | | | | | | | | | Cython-style properties. This makes properties work properly in cdef classes, and gives them the exact same AST as the “property something:” blocks, whose syntax should probably be deprecated now. Fixes T264.
* repair calling cython builtins as part of call node argumentsStefan Behnel2015-10-301-0/+2
|
* Merge branch 'feat/casts' of git://github.com/memeplex/cythonRobert Bradshaw2015-10-271-2/+24
|\
| * Add typecheck keyword.memeplex2015-10-251-1/+22
| |
| * Allow cast(...) to python types.memeplex2015-10-191-1/+2
| |
* | Fix typos.Jakub Wilk2015-10-181-1/+1
|/
* Merge branch '0.23.x'Stefan Behnel2015-10-021-2/+2
|\ | | | | | | | | Conflicts: setup.py
| * Fix cython.declare() after importLisandro Dalcin2015-10-021-2/+2
| |
| * disable syntax support for "yield" expressions in function argument ↵Stefan Behnel2015-08-141-0/+5
| | | | | | | | annotations and default args which never worked and crashes the compiler
* | fix cname override for helper functions: 'str' compile time values no longer ↵Stefan Behnel2015-09-121-1/+2
| | | | | | | | require decoding in Py3
* | adapt and apply major refactoring of IndexNode originally written by Mark ↵Stefan Behnel2015-09-041-13/+8
| | | | | | | | Florisson
* | disable syntax support for "yield" expressions in function argument ↵Stefan Behnel2015-08-121-0/+5
|/ | | | annotations and default args which never worked and crashes the compiler
* adapt 'unicode' usage to Py2/Py3Stefan Behnel2015-07-261-3/+3
|
* replace xrange() by range() to make it work in Py2/Py3Stefan Behnel2015-07-251-3/+3
|
* make dict iteration compatible with Py2/Py3Stefan Behnel2015-07-251-6/+6
|
* 2to3: Apply the 'except' fixerPetr Viktorin2015-07-251-1/+1
|
* deep-copy finally clauses of try-finally statements earlier to properly ↵Stefan Behnel2015-07-121-14/+3
| | | | support arbitrary statements in them (genexprs, lambdas, etc.)
* implement "async with" (PEP 492)Stefan Behnel2015-05-231-4/+9
|
* implement "async def" statement and "await" expression (PEP 492)Stefan Behnel2015-05-231-19/+34
|
* replace useless dict items iteration by predictably ordered key iterationStefan Behnel2015-02-131-1/+1
|
* make commented value more visibleStefan Behnel2015-02-131-1/+1
|
* Enable line profiling for Robert Kern's line_profiler.Robert Bradshaw2014-12-311-0/+1
| | | | | | The profiler filters lines on the function's __code__ attribute, which must agree with that created in the profile frame. Unfortunately, this makes it difficult to profile anything but 'def' functions.
* A couple of DebugTransform fixes.Robert Bradshaw2014-12-091-0/+1
|
* remove unclear comment and add docstring to explain whyStefan Behnel2014-11-151-0/+3
| | | | | --HG-- extra : transplant_source : %C4Y%8Fo%10QD%23%A6%FB%B6%AF%3B%D6%C9%A9%09%C4%0D%A8
* Allow staticmethod in non-decorator contexts.Robert Bradshaw2014-08-201-1/+1
|
* wrap long linesStefan Behnel2014-08-171-2/+4
|
* make sure dir() of locals returns a sorted listStefan Behnel2014-08-141-3/+3
|
* simplify WithTargetAssignmentStatNode and make it more robust against ↵Stefan Behnel2014-08-111-5/+4
| | | | replacements of the context manager node; undo node.result() checking as it broke TempNode's disposal code
* clean up some whitespaceStefan Behnel2014-08-101-10/+10
|
* fix compiler crash when manager.__enter__() call node in with statement gets ↵Stefan Behnel2014-08-101-2/+2
| | | | replaced
* remove Py2.4 work-aroundStefan Behnel2014-08-051-2/+2
|
* clean up directives setup in InterpretCompilerDirectives transform by moving ↵Stefan Behnel2014-07-271-8/+6
| | | | the global part into __init__()
* Fix crash with forward declarations.Robert Bradshaw2014-07-221-1/+1
| | | Thanks to Alok Singhal.
* Support @staticmethod decorator for C++ classes.Robert Bradshaw2014-07-171-3/+10
|
* Merge branch 'master' into staticRobert Bradshaw2014-07-141-4/+7
|\ | | | | | | | | | | Conflicts: CHANGES.rst Cython/Compiler/Nodes.py
| * Fix error test.Robert Bradshaw2014-07-101-0/+7
| |
| * Allow closures in cdef functions.Robert Bradshaw2014-07-101-6/+2
| |