Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
|\ \ | |/ | ||||||
| * | Fix destructor name computation in the face of namespace template args. | Robert Bradshaw | 2012-11-03 | 1 | -1/+5 | |
| | | ||||||
* | | 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) | |||||
* | | Merge branch 'bugs' into main_master | Robert Bradshaw | 2012-10-30 | 1 | -0/+7 | |
|\ \ | |/ | ||||||
| * | Fix cpython.array declaration order. | Robert Bradshaw | 2012-10-30 | 1 | -0/+7 | |
| | | ||||||
* | | Merge pull request #142 from mongi3/master | scoder | 2012-10-12 | 1 | -0/+2 | |
|\ \ | |/ |/| | Added "--capi-reexport-cincludes" option | |||||
| * | added "--capi-reexport-cincludes" option | mongi3 | 2012-08-11 | 1 | -0/+2 | |
| | | ||||||
* | | reduce code redundancy in Py2/3 cleanup code setup | Stefan Behnel | 2012-08-26 | 1 | -15/+4 | |
| | | ||||||
* | | work around 'unused function __Pyx_ImportModule()' compiler warning | Stefan Behnel | 2012-08-26 | 1 | -3/+0 | |
| | | ||||||
* | | factored import/export utility code out into separate utility code file ↵ | Stefan Behnel | 2012-08-25 | 1 | -223/+17 | |
| | | | | | | | | ImportExport.c | |||||
* | | minor cleanup | Stefan Behnel | 2012-08-25 | 1 | -2/+2 | |
| | | ||||||
* | | use proper module.m_free() way to run module cleanup code in Py3, way after ↵ | Stefan Behnel | 2012-08-25 | 1 | -2/+20 | |
| | | | | | | | | running atexit functions etc. | |||||
* | | clean up injection of RegisterModuleCleanup utility code | Stefan Behnel | 2012-08-25 | 1 | -3/+2 | |
| | | ||||||
* | | moved utility code for registering the module cleanup function into ↵ | Stefan Behnel | 2012-08-25 | 1 | -47/+2 | |
| | | | | | | | | Cython/Utility/ModuleSetupCode.c | |||||
* | | fix C compiler warning about unused function parameter in tp_clear() | Stefan Behnel | 2012-08-21 | 1 | -2/+8 | |
| | | ||||||
* | | More C++ class fixes, tests. | Robert Bradshaw | 2012-08-21 | 1 | -2/+2 | |
| | | ||||||
* | | Allow declaring C++ classes in Cython files. | Robert Bradshaw | 2012-08-21 | 1 | -1/+27 | |
| | | | | | | | | | | This is necessary to use some C++ APIs, and ugly if not impossible to work around using cname specifiers and external files. | |||||
* | | Allow deterministic "generated by" string for easy comparison. | Robert Bradshaw | 2012-08-21 | 1 | -2/+2 | |
| | | ||||||
* | | undo usage of __Pyx_NAMESTR() - not needed for dicts | Stefan Behnel | 2012-08-15 | 1 | -2/+2 | |
| | | ||||||
* | | use __Pyx_NAMESTR() macro when referring to module name | Stefan Behnel | 2012-08-15 | 1 | -2/+2 | |
| | | ||||||
* | | minor code cleanups in module init code | Stefan Behnel | 2012-08-15 | 1 | -15/+6 | |
| | | ||||||
* | | fix error case refcounting bug in module init code | Stefan Behnel | 2012-08-15 | 1 | -8/+4 | |
| | | ||||||
* | | remove duplicated condition | Stefan Behnel | 2012-08-15 | 1 | -1/+1 | |
| | | ||||||
* | | fix name setup for package __init__ modules, make sure package is registered ↵ | Stefan Behnel | 2012-08-15 | 1 | -23/+40 | |
| | | | | | | | | when importing its __init__ module; fixes initial_file_path test in Py3.3 | |||||
* | | Another cpp-class-as-cdef-class-member fix, fix test with side effect. | Robert Bradshaw | 2012-08-11 | 1 | -2/+3 | |
| | | ||||||
* | | Fix template types as class members. | Robert Bradshaw | 2012-08-11 | 1 | -1/+1 | |
|/ | ||||||
* | avoid redundant code in tp_dealloc() and friends when inheriting from ↵ | Stefan Behnel | 2012-08-07 | 1 | -0/+10 | |
| | | | | builtin types | |||||
* | fix refcount bug in initial __path__ setting | Stefan Behnel | 2012-08-07 | 1 | -0/+2 | |
| | ||||||
* | provide compiler directive to set __file__ and __path__ from the source path ↵ | Stefan Behnel | 2012-08-06 | 1 | -1/+23 | |
| | | | | at module init time | |||||
* | fix tp_traverse()/tp_clear()/tp_dealloc() calls for cimported types after ↵ | Stefan Behnel | 2012-08-04 | 1 | -14/+33 | |
| | | | | module cleanup | |||||
* | removed confusing dead code | Stefan Behnel | 2012-08-04 | 1 | -15/+4 | |
| | ||||||
* | fix typo | Stefan Behnel | 2012-08-04 | 1 | -1/+1 | |
| | ||||||
* | safely clear ext type fields on tp_dealloc() | Stefan Behnel | 2012-08-04 | 1 | -1/+2 | |
| | ||||||
* | reverted tp_dealloc() call patch | Stefan Behnel | 2012-08-04 | 1 | -5/+1 | |
| | ||||||
* | fix crashes when deallocating instances of cimported types after module ↵ | Stefan Behnel | 2012-08-04 | 1 | -1/+5 | |
| | | | | cleanup, patch by Lisandro Dalcin | |||||
* | fix 'type' adaptation code to work with PyPy | Stefan Behnel | 2012-07-23 | 1 | -18/+33 | |
| | ||||||
* | removed unused code | Stefan Behnel | 2012-07-23 | 1 | -4/+0 | |
| | ||||||
* | Merge pull request #126 from bfroehle/_cpython_type_PyTypeObject | scoder | 2012-07-23 | 1 | -0/+2 | |
|\ | | | | | cpython.type: Add ctypedef for `__builtin__.type` | |||||
| * | Add ctypedef for __builtin__.type. | Bradley M. Froehle | 2012-05-30 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows a "C" function like extern "C" PyObject* f(PyTypeObject *a); to be wrapped by Cython as from cpython.type import type cdef extern from *: object f(type a) In particular, this allows Cython to produce code which calls f as f((PyTypeObject*) a) which means that it will compile in C++. | |||||
* | | fix modifiers of functions with overrides in external .pxd files | Stefan Behnel | 2012-07-23 | 1 | -18/+11 | |
| | | ||||||
* | | Fix missing error when overriding final methods of cimported classes. | Robert Bradshaw | 2012-07-21 | 1 | -3/+4 | |
| | | ||||||
* | | Fix function prototype generation for unused but public/api entries | Lisandro Dalcin | 2012-07-18 | 1 | -1/+1 | |
| | |