summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|\ \ | |/
| * Fix destructor name computation in the face of namespace template args.Robert Bradshaw2012-11-031-1/+5
| |
* | always insert the module into sys.modules right after creating it in Py3 ↵Stefan Behnel2012-11-031-10/+11
| | | | | | | | (Py2 does it for us)
* | Merge branch 'bugs' into main_masterRobert Bradshaw2012-10-301-0/+7
|\ \ | |/
| * Fix cpython.array declaration order.Robert Bradshaw2012-10-301-0/+7
| |
* | Merge pull request #142 from mongi3/masterscoder2012-10-121-0/+2
|\ \ | |/ |/| Added "--capi-reexport-cincludes" option
| * added "--capi-reexport-cincludes" optionmongi32012-08-111-0/+2
| |
* | reduce code redundancy in Py2/3 cleanup code setupStefan Behnel2012-08-261-15/+4
| |
* | work around 'unused function __Pyx_ImportModule()' compiler warningStefan Behnel2012-08-261-3/+0
| |
* | factored import/export utility code out into separate utility code file ↵Stefan Behnel2012-08-251-223/+17
| | | | | | | | ImportExport.c
* | minor cleanupStefan Behnel2012-08-251-2/+2
| |
* | use proper module.m_free() way to run module cleanup code in Py3, way after ↵Stefan Behnel2012-08-251-2/+20
| | | | | | | | running atexit functions etc.
* | clean up injection of RegisterModuleCleanup utility codeStefan Behnel2012-08-251-3/+2
| |
* | moved utility code for registering the module cleanup function into ↵Stefan Behnel2012-08-251-47/+2
| | | | | | | | Cython/Utility/ModuleSetupCode.c
* | fix C compiler warning about unused function parameter in tp_clear()Stefan Behnel2012-08-211-2/+8
| |
* | More C++ class fixes, tests.Robert Bradshaw2012-08-211-2/+2
| |
* | Allow declaring C++ classes in Cython files.Robert Bradshaw2012-08-211-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 Bradshaw2012-08-211-2/+2
| |
* | undo usage of __Pyx_NAMESTR() - not needed for dictsStefan Behnel2012-08-151-2/+2
| |
* | use __Pyx_NAMESTR() macro when referring to module nameStefan Behnel2012-08-151-2/+2
| |
* | minor code cleanups in module init codeStefan Behnel2012-08-151-15/+6
| |
* | fix error case refcounting bug in module init codeStefan Behnel2012-08-151-8/+4
| |
* | remove duplicated conditionStefan Behnel2012-08-151-1/+1
| |
* | fix name setup for package __init__ modules, make sure package is registered ↵Stefan Behnel2012-08-151-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 Bradshaw2012-08-111-2/+3
| |
* | Fix template types as class members.Robert Bradshaw2012-08-111-1/+1
|/
* avoid redundant code in tp_dealloc() and friends when inheriting from ↵Stefan Behnel2012-08-071-0/+10
| | | | builtin types
* fix refcount bug in initial __path__ settingStefan Behnel2012-08-071-0/+2
|
* provide compiler directive to set __file__ and __path__ from the source path ↵Stefan Behnel2012-08-061-1/+23
| | | | at module init time
* fix tp_traverse()/tp_clear()/tp_dealloc() calls for cimported types after ↵Stefan Behnel2012-08-041-14/+33
| | | | module cleanup
* removed confusing dead codeStefan Behnel2012-08-041-15/+4
|
* fix typoStefan Behnel2012-08-041-1/+1
|
* safely clear ext type fields on tp_dealloc()Stefan Behnel2012-08-041-1/+2
|
* reverted tp_dealloc() call patchStefan Behnel2012-08-041-5/+1
|
* fix crashes when deallocating instances of cimported types after module ↵Stefan Behnel2012-08-041-1/+5
| | | | cleanup, patch by Lisandro Dalcin
* fix 'type' adaptation code to work with PyPyStefan Behnel2012-07-231-18/+33
|
* removed unused codeStefan Behnel2012-07-231-4/+0
|
* Merge pull request #126 from bfroehle/_cpython_type_PyTypeObjectscoder2012-07-231-0/+2
|\ | | | | cpython.type: Add ctypedef for `__builtin__.type`
| * Add ctypedef for __builtin__.type.Bradley M. Froehle2012-05-301-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 filesStefan Behnel2012-07-231-18/+11
| |
* | Fix missing error when overriding final methods of cimported classes.Robert Bradshaw2012-07-211-3/+4
| |
* | Fix function prototype generation for unused but public/api entriesLisandro Dalcin2012-07-181-1/+1
| |