Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
| * | Fix destructor name ... | Olivier Parcollet | 2012-11-09 | 1 | -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 Bradshaw | 2012-11-07 | 1 | -1/+3 | |
| | | ||||||
| * | fix initial module registration for (nested) packages | Stefan Behnel | 2012-11-05 | 1 | -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 Parcollet | 2012-11-09 | 1 | -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) packages | Stefan Behnel | 2012-11-05 | 1 | -2/+7 | |
| | | ||||||
* | | merged 0.17 branch into master | Stefan Behnel | 2012-11-04 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | fix early module registering by using FQMN instead of plain module name, ↵ | Stefan Behnel | 2012-11-04 | 1 | -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 Behnel | 2012-11-03 | 1 | -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 Bradshaw | 2012-11-03 | 1 | -1/+5 | |
|\ \ | |/ |