summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| * Fix destructor name ...Olivier Parcollet2012-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There appears to be a pb in 9df8c9daf10ff30a8e6506b72406d032f268a17b. For a template class, A::B::C<T1,T2> the destructor name was C<T1,T2> leading to code like A::B::C<T1,T2>::~C<T1,T2>() which does not compile on gcc (4.6, 4.7), also it seems to be correct code ... clang and intel C++ compile it, but not gcc. I changed the name to generate the code : A::B::C<T1,T2>::~C() which compiles on gcc, clang, intel by further cutting the <...> in the destructor name.
| * Remove module docstring if docstrings are disabled #792.Robert Bradshaw2012-11-071-1/+3
| |
| * fix initial module registration for (nested) packagesStefan Behnel2012-11-051-2/+7
| | | | | | | | | | --HG-- extra : transplant_source : 1%92%CA%A14x%08H%1D%3A%F3z%E7%E22%BF%CA%D2%1B%10
* | Fix destructor name ...Olivier Parcollet2012-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There appears to be a pb in 9df8c9daf10ff30a8e6506b72406d032f268a17b. For a template class, A::B::C<T1,T2> the destructor name was C<T1,T2> leading to code like A::B::C<T1,T2>::~C<T1,T2>() which does not compile on gcc (4.6, 4.7), also it seems to be correct code ... clang and intel C++ compile it, but not gcc. I changed the name to generate the code : A::B::C<T1,T2>::~C() which compiles on gcc, clang, intel by further cutting the <...> in the destructor name.
* | fix initial module registration for (nested) packagesStefan Behnel2012-11-051-2/+7
| |
* | merged 0.17 branch into masterStefan Behnel2012-11-041-2/+2
|\ \ | |/
| * fix early module registering by using FQMN instead of plain module name, ↵Stefan Behnel2012-11-041-2/+2
| | | | | | | | added test for init-time reloading of modules in packages
| * always insert the module into sys.modules right after creating it in Py3 ↵Stefan Behnel2012-11-031-10/+11
| | | | | | | | | | | | | | (Py2 does it for us) --HG-- extra : transplant_source : %F9%FF%8Ai%99OV%BFd%F7%147%19pm%5D%DF%98%D4%FC
* | Merge branch 'bugs'Robert Bradshaw2012-11-031-1/+5
|\ \ | |/