Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Set correct baseclass for heap allocated type subclasses. | Robert Bradshaw | 2013-09-12 | 1 | -1/+5 | |
| | | ||||||
* | | Cleanup type sharing. | Robert Bradshaw | 2013-08-12 | 1 | -0/+3 | |
|/ | ||||||
* | avoid generating empty PyMethodDef array for types (especially closures) | Stefan Behnel | 2013-08-10 | 1 | -0/+2 | |
| | ||||||
* | fix code generated for __dealloc__() and __releasebuffer__() to call ↵ | Stefan Behnel | 2013-08-09 | 1 | -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 Behnel | 2013-08-09 | 1 | -2/+5 | |
| | ||||||
* | clean up tp_dealloc() code and integrate call to tp_finalize() for Py3.4 | Stefan Behnel | 2013-08-09 | 1 | -40/+55 | |
| | ||||||
* | make the NULL-instead-of-None change in tp_clear() optional and off by ↵ | Stefan Behnel | 2013-08-08 | 1 | -2/+15 | |
| | | | | default - breaks too much code for now | |||||
* | Add decorator @gc_no_clear to disable tp_clear slot. | Torsten Landschoff | 2013-08-02 | 1 | -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 Landschoff | 2013-08-01 | 1 | -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 Behnel | 2013-07-27 | 1 | -9/+4 | |
| | | | | garbage collection | |||||
* | always set __path__ for compiled packages and in Py3.3 actually implement ↵ | Stefan Behnel | 2013-07-26 | 1 | -39/+56 | |
| | | | | finding the file path at module init time by rerunning the import lookup | |||||
* | Share utility code between modules. | Robert Bradshaw | 2013-05-27 | 1 | -1/+1 | |
| | ||||||
* | Remove broken recursive option. | Robert Bradshaw | 2013-05-27 | 1 | -16/+0 | |
| | ||||||
* | Revert "Undo sorting types by inheritance until we figure out what's up with ↵ | Robert Bradshaw | 2013-05-07 | 1 | -2/+0 | |
| | | | | | | Sage." This reverts commit 12d7dbb301851508af7950fbb4307a1d5b2af615. | |||||
* | Undo sorting types by inheritance until we figure out what's up with Sage. | Robert Bradshaw | 2013-05-07 | 1 | -0/+2 | |
| | ||||||
* | add assertion, just in case | Stefan Behnel | 2013-05-06 | 1 | -1/+3 | |
| | ||||||
* | use unique 'objstruct_cname' instead of 'name' when sorting extension types | Stefan Behnel | 2013-05-06 | 1 | -5/+6 | |
| | ||||||
* | Order cdef classes by inheritance before generating the code. | Nikita Nemkin | 2013-05-05 | 1 | -0/+9 | |
| | ||||||
* | Cython utility cdef classes are internal by default. Fixes #775. | Nikita Nemkin | 2013-05-04 | 1 | -0/+1 | |
| | ||||||
* | use pre-built Python objects in __Pyx_ExportVoidPtr() utility function | Stefan Behnel | 2013-05-01 | 1 | -2/+3 | |
| | ||||||
* | move [GS]etVTable utility code to more appropriate ImportExport.c file | Stefan Behnel | 2013-05-01 | 1 | -2/+2 | |
| | ||||||
* | move vtable get/set utility code into ExtensionTypes.c file | Stefan Behnel | 2013-05-01 | 1 | -2/+4 | |
| | ||||||
* | remove left-over code line | Stefan Behnel | 2013-03-16 | 1 | -1/+0 | |
| | ||||||
* | guard against incorrect values for PYLONG_BITS_IN_DIGIT that do not match ↵ | Stefan Behnel | 2013-03-09 | 1 | -0/+21 | |
| | | | | CPython's | |||||
* | simplify some Py3 precompiler checks | Stefan Behnel | 2013-03-09 | 1 | -1/+1 | |
| | ||||||
* | reduce default decoding overhead in Py3 | Stefan Behnel | 2013-03-09 | 1 | -2/+5 | |
| | ||||||
* | speed up access to module globals | Stefan Behnel | 2013-03-07 | 1 | -0/+6 | |
| | ||||||
* | use a couple of branch prediction macros in tp_new() function, just in case | Stefan Behnel | 2013-02-25 | 1 | -3/+3 | |
| | | | | | --HG-- extra : rebase_source : 32ab400fc7cf381d2267ae01b3ada7065d706ed2 | |||||
* | initialise all fields to 0 when using object structs from the freelist | Stefan Behnel | 2013-02-25 | 1 | -1/+5 | |
| | | | | | --HG-- extra : rebase_source : 346e99306b247c116d988b58802ed7e7eb62754c | |||||
* | Merge remote-tracking branch 'main/master' | Robert Bradshaw | 2013-02-26 | 1 | -16/+63 | |
|\ | | | | | | | | | Conflicts: Cython/Compiler/Options.py | |||||
| * | extend freelist support to all subtypes that have the same object struct size | Stefan Behnel | 2013-02-24 | 1 | -4/+4 | |
| | | ||||||
| * | inline freelist call to PyObject_Init() | Stefan Behnel | 2013-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | prevent external base types from generating cleanup code for freelist | Stefan Behnel | 2013-02-23 | 1 | -1/+1 | |
| | | ||||||
| * | implement freelist support for extension types with a @cython.freelist(N) ↵ | Stefan Behnel | 2013-02-23 | 1 | -14/+57 | |
| | | | | | | | | decorator | |||||
| * | optimise tp_new() for module-internally defined types by calling the tp_new ↵ | Stefan Behnel | 2013-02-23 | 1 | -2/+6 | |
| | | | | | | | | slot function directly | |||||
* | | support 'default' encoding | Robert Bradshaw | 2013-02-26 | 1 | -2/+3 | |
| | | ||||||
* | | Allow setting a default encoding to ease str/unicode <-> c string conversion. | Robert Bradshaw | 2013-02-20 | 1 | -0/+14 | |
|/ | ||||||
* | it should be enough to restart tracking the object at the end of ↵ | Stefan Behnel | 2013-02-16 | 1 | -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 code | Stefan Behnel | 2013-02-15 | 1 | -6/+6 | |
| | | | | | --HG-- extra : rebase_source : cf2a0d87f2f903179cc954ff092c79fef7b13a34 | |||||
* | fix C compiler warnings about missing PyModuleDef field initialisers in Py3.[01] | Stefan Behnel | 2013-01-27 | 1 | -0/+5 | |
| | ||||||
* | Make __pyx_import_star_type_names static to remove link errors when freezing. | Robert Bradshaw | 2013-01-12 | 1 | -1/+1 | |
| | ||||||
* | make cleanup safety fix more explicit | Stefan Behnel | 2013-01-04 | 1 | -12/+13 | |
| | ||||||
* | generate safer cleanup code that also works in the case something goes badly ↵ | Stefan Behnel | 2013-01-03 | 1 | -4/+9 | |
| | | | | | | | wrong early at module init time --HG-- extra : rebase_source : 015495e6aee6c59b11ee9169d2ad597ff54bfd0c | |||||
* | Merge branch 'bugs' | Robert Bradshaw | 2013-01-02 | 1 | -0/+10 | |
|\ | ||||||
| * | Guard deallocation with PyObject_GC_Untrack, trac #796. | Robert Bradshaw | 2013-01-02 | 1 | -0/+10 | |
| | | ||||||
| * | Omit setting docstring for __getbuffer__/__releasebuffer__ | Mark Florisson | 2012-12-04 | 1 | -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 Behnel | 2012-12-16 | 1 | -7/+7 | |
| | | | | | | | | properly formatted | |||||
* | | move some helper code into external utility code files | Stefan Behnel | 2012-12-09 | 1 | -2/+2 | |
| | | ||||||
* | | Omit setting docstring for __getbuffer__/__releasebuffer__ | Mark Florisson | 2012-12-04 | 1 | -1/+4 | |
| | | ||||||
* | | Merge branch 'bugs' | Robert Bradshaw | 2012-11-09 | 1 | -1/+3 | |
|\ \ | |/ | | | | | | | | | Conflicts: Cython/Compiler/Optimize.py Cython/Compiler/TypeInference.py |