summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove dead code.Stefan Behnel2017-09-281-2/+0
|
* Fix error handling when importing NumPy for Pythran modules.Stefan Behnel2017-09-281-1/+2
|
* Enforce single module initialisation despite PEP 489 allowing to re-execute ↵Stefan Behnel2017-09-281-1/+10
| | | | a module.
* Require c++0x for unique_ptr.Robert Bradshaw2017-09-231-1/+2
|
* Avoid copying C++ classes when passing constructor arguments.Robert Bradshaw2017-09-231-1/+1
|
* Add flag CYTHON_USE_TP_FINALIZEto control whether tp_finalize is used.Ronan Lamy2017-09-131-1/+1
| | | | Disable it on pypy3, since it doesn't support PEP 442 yet.
* Move future division #defines out of ModuleNode.py.Stefan Behnel2017-09-051-14/+2
|
* Prevent redefinition of assertions macroStefan Behnel2017-09-051-1/+1
|
* Mark "__eq__" and friends as special methods to correctly distinguish them ↵Stefan Behnel2017-09-041-27/+25
| | | | | | from attributes etc. Replace closure class special casing from slot generation code and replace it with saner and more general "is_special" check.
* Test and fix "__eq__" override with extern base type (tested with 'list').Stefan Behnel2017-09-041-3/+6
|
* Switch off special methods for closure classes the hard way.Stefan Behnel2017-09-031-25/+27
|
* Generate "tp_richcompare" slot when "__eq__" and/or its friends are defined ↵Stefan Behnel2017-09-031-0/+69
| | | | | | but "__richcmp__" is not. Closes #690.
* Remove support and special handling code for Py3.2.Stefan Behnel2017-08-251-2/+2
|
* Add required copy and assignment operators for C++ classes with python ↵Robert Bradshaw2017-08-251-0/+22
| | | | object attributes.
* Allow C++ classes to have Python object members.Robert Bradshaw2017-08-251-6/+47
|
* Merge pull request #1794 from scoder/pep489_multi_phase_initscoder2017-08-091-11/+71
|\ | | | | implement PEP 489 multi-phase module initialisation in Py3.5+
| * write warning into generated header file for now to explain that calling the ↵Stefan Behnel2017-07-231-0/+3
| | | | | | | | module init function is not enough to initialise the module anymore
| * C++ fixStefan Behnel2017-07-231-2/+2
| |
| * disable file/path name overwriting during module setup in post-PEP489 ↵Stefan Behnel2017-07-231-0/+6
| | | | | | | | runtimes (where the ModuleSpec provides proper metadata)
| * fix utility code formattingStefan Behnel2017-07-221-2/+2
| |
| * make module exec function cname module specific to make it easier to select ↵Stefan Behnel2017-07-221-6/+9
| | | | | | | | in a debugger/profiler
| * implement PEP 489 multi-phase module initialisation in Py3.5+Stefan Behnel2017-07-221-9/+57
| |
* | speed up type checks, especially for exceptions (which are used a lot in ↵Stefan Behnel2017-07-311-0/+1
| | | | | | | | yield/await)
* | allow yield in async def functions (which turns them into async generators)Stefan Behnel2017-07-271-1/+1
| |
* | Suppress special casing of attribute names in closure classes since they are ↵Stefan Behnel2017-07-251-4/+4
|/ | | | | | not user defined and any local variable name is allowed without being special. Closes #1797.
* use faster __Pyx_PyObject_GetAttrStr() implementation and avoid static ↵Stefan Behnel2017-07-161-1/+2
| | | | Python string reference in AddTraceback() helper
* Merge commit '863b50c33b955bb29e90bbcb1c8e61bd820845f3' into releaseRobert Bradshaw2017-07-141-1/+1
|\
| * try to silence C compiler warning about unused function argumentStefan Behnel2017-07-131-1/+1
| |
* | Merge branch 'jdemeyer-cdef_public_dll_linkage'Robert Bradshaw2017-07-141-3/+2
|\ \ | |/ |/|
| * Do not use special dll linkage for "cdef public" functionsJeroen Demeyer2017-04-281-3/+2
| |
* | Suppress (verbose) may-be-used-uninitialized errors.Robert Bradshaw2017-07-061-0/+1
| |
* | Conditionally use FastGil utility code.Robert Bradshaw2017-07-031-5/+0
| |
* | Add an optimization for re-aquiring the GIL.Robert Bradshaw2017-06-291-0/+5
| |
* | Add a Pythran backend for Numpy operationAdrien Guinet2017-06-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | When the user asked for it (thanks to the --np-pythran flag), use Pythran's Numpy implementation as a backend for numpy operation. This flag forces the C++ mode, as the Pythran implementation is written in C++. Distutils integration through the 'np_pythran' flag of the cythonize API is also provided. This commit also adds a Pythran mode for the tests, that can enable the pythran mode for the C++ tests, and allows the reuse of Cython tests to test for the Pythran integration.
* | Emit class closing bracket on new line.Robert Bradshaw2017-06-161-1/+1
| |
* | Don't override unknown inherited __reduce__.Robert Bradshaw2017-06-151-0/+9
| |
* | safety fix: do not access type struct field "tp_finalize" if the type states ↵Stefan Behnel2017-06-051-2/+3
| | | | | | | | that it does not have it (because the struct might really be shorter in that case)
* | Make C lines in exception tracebacks a runtime setting.Robert Bradshaw2017-05-281-0/+5
|/ | | | Also changes the default to False.
* Pass first arg of visitproc as PyObject*Jeroen Demeyer2017-03-071-3/+2
|
* Remove duplicated file path handling code when generating file path tables.Stefan Behnel2017-02-121-17/+5
|
* restrict "__dict__" property generation to declared "__dict__" attributes ↵Stefan Behnel2016-09-031-1/+3
| | | | and ignore everything else
* Fix cpdef enums cimported across modules.Robert Bradshaw2016-09-021-0/+4
| | | | Closes #531.
* avoid generating a PyMethodDef entry for the newly implemented CyFunction ↵Stefan Behnel2016-08-301-1/+2
| | | | methods
* re-enable PyMethodDef declarations of Python methods in cdef classes as we ↵Stefan Behnel2016-08-271-1/+1
| | | | cannot currently generate CyFunctions for cpdef methods
* implement binding Python methods in extension typesStefan Behnel2016-08-271-1/+1
| | | | enables line tracing etc.
* replace generic "COMPILING_IN_*" C macros with feature specific guards that ↵Stefan Behnel2016-07-301-1/+1
| | | | allow a more fine-grained adaptation to C-API implementations
* Allow old_style_globals to be set via a directive.Robert Bradshaw2016-07-271-0/+2
|
* make current scope available to FunctionState and CCodeWriter to give access ↵Stefan Behnel2016-07-241-1/+1
| | | | to variable types from AnnotationCCodeWriter
* Merge branch '0.24.x'Stefan Behnel2016-07-151-0/+6
|\ | | | | | | | | | | Conflicts: CHANGES.rst docs/src/reference/compilation.rst
| * Work around MCVS else if stacking limit.Robert Bradshaw2016-04-181-0/+6
| |