summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | minor code cleanupStefan Behnel2016-07-151-2/+2
| |
* | fix error handling in "__dict__" slot implementationStefan Behnel2016-07-151-9/+17
| |
* | Use property system for __dict__ attributeempyrical2016-07-141-43/+20
| |
* | Add special __dict__ attribute to extension typesempyrical2016-07-101-14/+63
|/
* produce lots of code churn to clean up pylint warnings (almost exclusively ↵Stefan Behnel2016-03-281-202/+187
| | | | whitespace)
* F strings (PEP 498)Robert Bradshaw2016-03-241-0/+3
|\
| * Merge branch 'f_string' into f_strings_2Stefan Behnel2016-03-211-0/+3
| |\
| | * fstrings: implement concatenation using PyUnicode_JoinJelle Zijlstra2016-03-201-0/+3
| | | | | | | | | | | | Using _PyUnicode_Writer might be faster but seems more complicated to implement.
* | | Use proper conversion for import star and memory views.Robert Bradshaw2016-03-211-8/+2
|/ /
* | Merge pull request #478 from eugulixes/__PYX_ERRRobert Bradshaw2016-02-021-2/+14
|\ \ | | | | | | Hide some parts of stack trace in __PYX_ERR macro
| * | Hide some parts of stack trace in __PYX_ERR macroEvgeny Golyshev2016-01-021-2/+14
| | |
* | | Set up c_code_config options properly when autogenerating header files.Ian Henriksen2016-01-261-11/+19
|/ /