summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Set correct baseclass for heap allocated type subclasses.Robert Bradshaw2013-09-121-1/+5
| |
* | Cleanup type sharing.Robert Bradshaw2013-08-121-0/+3
|/
* avoid generating empty PyMethodDef array for types (especially closures)Stefan Behnel2013-08-101-0/+2
|
* fix code generated for __dealloc__() and __releasebuffer__() to call ↵Stefan Behnel2013-08-091-1/+0
| | | | WriteUnraisable() on exceptions instead of building a useless traceback
* be a tiny bit smarter about when to GC_Track for the base type in tp_dealloc()Stefan Behnel2013-08-091-2/+5
|
* clean up tp_dealloc() code and integrate call to tp_finalize() for Py3.4Stefan Behnel2013-08-091-40/+55
|
* make the NULL-instead-of-None change in tp_clear() optional and off by ↵Stefan Behnel2013-08-081-2/+15
| | | | default - breaks too much code for now
* Add decorator @gc_no_clear to disable tp_clear slot.Torsten Landschoff2013-08-021-1/+2
| | | | | | | | | | This can be useful if some external objects have to be cleaned up when the Python object dies. Otherwise the cyclic garbage collector may drop the references before the cleanup has any chance to run. Includes documentation and a simple unit test. Discussion: http://article.gmane.org/gmane.comp.python.cython.devel/14986
* Change tp_clear generation to clear to NULL.Torsten Landschoff2013-08-011-8/+1
| | | | | | | Better to crash early than to never know that the reference changed to None. See discussion here: http://article.gmane.org/gmane.comp.python.cython.devel/14833
* avoid traversing/clearing exttype attributes with simple types during ↵Stefan Behnel2013-07-271-9/+4
| | | | garbage collection
* always set __path__ for compiled packages and in Py3.3 actually implement ↵Stefan Behnel2013-07-261-39/+56
| | | | finding the file path at module init time by rerunning the import lookup
* Share utility code between modules.Robert Bradshaw2013-05-271-1/+1
|
* Remove broken recursive option.Robert Bradshaw2013-05-271-16/+0
|
* Revert "Undo sorting types by inheritance until we figure out what's up with ↵Robert Bradshaw2013-05-071-2/+0
| | | | | | Sage." This reverts commit 12d7dbb301851508af7950fbb4307a1d5b2af615.
* Undo sorting types by inheritance until we figure out what's up with Sage.Robert Bradshaw2013-05-071-0/+2
|
* add assertion, just in caseStefan Behnel2013-05-061-1/+3
|
* use unique 'objstruct_cname' instead of 'name' when sorting extension typesStefan Behnel2013-05-061-5/+6
|
* Order cdef classes by inheritance before generating the code.Nikita Nemkin2013-05-051-0/+9
|
* Cython utility cdef classes are internal by default. Fixes #775.Nikita Nemkin2013-05-041-0/+1
|
* use pre-built Python objects in __Pyx_ExportVoidPtr() utility functionStefan Behnel2013-05-011-2/+3
|
* move [GS]etVTable utility code to more appropriate ImportExport.c fileStefan Behnel2013-05-011-2/+2
|
* move vtable get/set utility code into ExtensionTypes.c fileStefan Behnel2013-05-011-2/+4
|
* remove left-over code lineStefan Behnel2013-03-161-1/+0
|
* guard against incorrect values for PYLONG_BITS_IN_DIGIT that do not match ↵Stefan Behnel2013-03-091-0/+21
| | | | CPython's
* simplify some Py3 precompiler checksStefan Behnel2013-03-091-1/+1
|
* reduce default decoding overhead in Py3Stefan Behnel2013-03-091-2/+5
|
* speed up access to module globalsStefan Behnel2013-03-071-0/+6
|
* use a couple of branch prediction macros in tp_new() function, just in caseStefan Behnel2013-02-251-3/+3
| | | | | --HG-- extra : rebase_source : 32ab400fc7cf381d2267ae01b3ada7065d706ed2
* initialise all fields to 0 when using object structs from the freelistStefan Behnel2013-02-251-1/+5
| | | | | --HG-- extra : rebase_source : 346e99306b247c116d988b58802ed7e7eb62754c
* Merge remote-tracking branch 'main/master'Robert Bradshaw2013-02-261-16/+63
|\ | | | | | | | | Conflicts: Cython/Compiler/Options.py
| * extend freelist support to all subtypes that have the same object struct sizeStefan Behnel2013-02-241-4/+4
| |
| * inline freelist call to PyObject_Init()Stefan Behnel2013-02-241-1/+1
| |
| * prevent external base types from generating cleanup code for freelistStefan Behnel2013-02-231-1/+1
| |
| * implement freelist support for extension types with a @cython.freelist(N) ↵Stefan Behnel2013-02-231-14/+57
| | | | | | | | decorator
| * optimise tp_new() for module-internally defined types by calling the tp_new ↵Stefan Behnel2013-02-231-2/+6
| | | | | | | | slot function directly
* | support 'default' encodingRobert Bradshaw2013-02-261-2/+3
| |
* | Allow setting a default encoding to ease str/unicode <-> c string conversion.Robert Bradshaw2013-02-201-0/+14
|/
* it should be enough to restart tracking the object at the end of ↵Stefan Behnel2013-02-161-5/+5
| | | | | | | tp_dealloc() only if there really is a base type that might rely on it --HG-- extra : rebase_source : 8a20a41f35f9b5d1aaa2a916b52403bd0cb145fc
* remove useless semicolons in Python codeStefan Behnel2013-02-151-6/+6
| | | | | --HG-- extra : rebase_source : cf2a0d87f2f903179cc954ff092c79fef7b13a34
* fix C compiler warnings about missing PyModuleDef field initialisers in Py3.[01]Stefan Behnel2013-01-271-0/+5
|
* Make __pyx_import_star_type_names static to remove link errors when freezing.Robert Bradshaw2013-01-121-1/+1
|
* make cleanup safety fix more explicitStefan Behnel2013-01-041-12/+13
|
* generate safer cleanup code that also works in the case something goes badly ↵Stefan Behnel2013-01-031-4/+9
| | | | | | | wrong early at module init time --HG-- extra : rebase_source : 015495e6aee6c59b11ee9169d2ad597ff54bfd0c
* Merge branch 'bugs'Robert Bradshaw2013-01-021-0/+10
|\
| * Guard deallocation with PyObject_GC_Untrack, trac #796.Robert Bradshaw2013-01-021-0/+10
| |
| * Omit setting docstring for __getbuffer__/__releasebuffer__Mark Florisson2012-12-041-1/+4
| | | | | | | | | | --HG-- extra : transplant_source : %04%AD%9D%8Dy%E4%7F%D04ib%0E%90%DB%D48%C3%88%19g
* | make sure utility code loaded for header files and module preamble gets ↵Stefan Behnel2012-12-161-7/+7
| | | | | | | | properly formatted
* | move some helper code into external utility code filesStefan Behnel2012-12-091-2/+2
| |
* | Omit setting docstring for __getbuffer__/__releasebuffer__Mark Florisson2012-12-041-1/+4
| |
* | Merge branch 'bugs'Robert Bradshaw2012-11-091-1/+3
|\ \ | |/ | | | | | | | | Conflicts: Cython/Compiler/Optimize.py Cython/Compiler/TypeInference.py