Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Table of file names with absolute paths. | Martin Raum | 2014-08-14 | 1 | -1/+1 | |
| | | | | | | | The table of file names written to the c or cpp file contains absolute file paths. This affects, in particular, profiling. The c method __pyx_TraceCall takes as one of its arguments a file name, which will be read from the table of file names. | |||||
* | Support @staticmethod decorator for C++ classes. | Robert Bradshaw | 2014-07-17 | 1 | -1/+3 | |
| | ||||||
* | Don't generate wrappers for cimported enums. | Robert Bradshaw | 2014-07-10 | 1 | -1/+3 | |
| | ||||||
* | Allow extern cpdef enum to export values into Python-level namespace. | Robert Bradshaw | 2014-07-10 | 1 | -0/+22 | |
| | ||||||
* | use explicit relative imports everywhere and enable absolute imports by default | Stefan Behnel | 2014-06-17 | 1 | -17/+19 | |
| | ||||||
* | Merge pull request #275 from cython/no-old-python | scoder | 2014-03-22 | 1 | -2/+2 | |
|\ | | | | | Get rid of obsolete Python cruft. | |||||
| * | Dissallow Python 2.4, 2.5, 3.0, and 3.1 | Robert Bradshaw | 2014-02-22 | 1 | -2/+2 | |
| | | ||||||
* | | move embedded C main function code into external utility code file | Stefan Behnel | 2014-03-15 | 1 | -193/+1 | |
| | | ||||||
* | | restrict freelist usage to CPython | Stefan Behnel | 2014-03-10 | 1 | -2/+2 | |
| | | | | | | | | | | --HG-- extra : amend_source : 9ae2e52935ae16af23c35b6329d53e559b7c39d0 | |||||
* | | apply freelist type check also when *adding* dead objects to the freelist to ↵ | Stefan Behnel | 2014-03-03 | 1 | -5/+12 | |
| | | | | | | | | make sure their eventual cleanup works correctly | |||||
* | | fix crash by excluding heap types from the extension type freelists | Stefan Behnel | 2014-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | use arbitrary but predictable C code order when cleaning up imported ↵ | Stefan Behnel | 2014-02-26 | 1 | -2/+2 | |
| | | | | | | | | extension types | |||||
* | | use an actual set() for Scope.types_imported instead of a set-ishly used dict | Stefan Behnel | 2014-02-26 | 1 | -1/+1 | |
|/ | ||||||
* | Clang-compatible C++ nested destructor call. | Robert Bradshaw | 2014-02-18 | 1 | -8/+1 | |
| | ||||||
* | make C code order in 'from-import *' table deterministic | Stefan Behnel | 2014-01-23 | 1 | -1/+1 | |
| | ||||||
* | fix test failure | Stefan Behnel | 2014-01-23 | 1 | -3/+10 | |
| | ||||||
* | generate cdef classes and closure classes in a deterministic order to reduce ↵ | Stefan Behnel | 2014-01-19 | 1 | -16/+24 | |
| | | | | | | C code churn on regeneration also fixes a problem where duplicate entries (one used, one unused) could be selected somewhat arbitrarily during type sorting (apparently applied to but worked for memoryview/-slice) | |||||
* | add safety check for now to avoid trying to write annotation files into ↵ | Stefan Behnel | 2014-01-18 | 1 | -3/+9 | |
| | | | | standard include directories etc. | |||||
* | when includes are used, additionally generate one annotation file per ↵ | Stefan Behnel | 2014-01-18 | 1 | -2/+23 | |
| | | | | | | | included file --HG-- extra : amend_source : c2b02f8beedd17cdae81256283c30de6f5767e08 | |||||
* | close output file ASAP | Stefan Behnel | 2014-01-18 | 1 | -2/+2 | |
| | ||||||
* | safety fix | Stefan Behnel | 2014-01-18 | 1 | -4/+6 | |
| | ||||||
* | call object.__new__() only when we expect an error due to an abstract class ↵ | Stefan Behnel | 2014-01-12 | 1 | -3/+14 | |
| | | | | being instantiated | |||||
* | revert dynamic tp_new() override because it breaks instantiating types with ↵ | Stefan Behnel | 2014-01-10 | 1 | -3/+2 | |
| | | | | arguments that object.__new__()/object.__init__() don't expect | |||||
* | reuse object's tp_new() for simple extension types if possible to improve ↵ | Stefan Behnel | 2014-01-10 | 1 | -2/+3 | |
| | | | | support for multiple inheritance | |||||
* | call PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() ↵ | Stefan Behnel | 2014-01-10 | 1 | -2/+2 | |
| | | | | directly | |||||
* | add guarding for special method docstrings | R. Andrew Ohana | 2014-01-03 | 1 | -0/+6 | |
| | ||||||
* | whitespace | Robert Bradshaw | 2013-12-27 | 1 | -4/+4 | |
| | ||||||
* | avoid redundant NULL inits for extension type fields in tp_new() | Stefan Behnel | 2013-12-22 | 1 | -8/+10 | |
| | ||||||
* | fix C compiler warning about unused expression result | Stefan Behnel | 2013-12-21 | 1 | -1/+1 | |
| | ||||||
* | clean up lots of places where exceptions are being raised to reduce the ↵ | Stefan Behnel | 2013-12-06 | 1 | -4/+4 | |
| | | | | message building overhead | |||||
* | support bytearray as auto encoding string type | Stefan Behnel | 2013-11-06 | 1 | -4/+8 | |
| | | | | | | --HG-- rename : tests/run/str_ascii_auto_encoding.pyx => tests/run/bytearray_ascii_auto_encoding.pyx rename : tests/run/str_default_auto_encoding.pyx => tests/run/bytearray_default_auto_encoding.pyx | |||||
* | fix comment | Stefan Behnel | 2013-11-02 | 1 | -1/+1 | |
| | ||||||
* | spelling | Robert Bradshaw | 2013-11-01 | 1 | -1/+1 | |
| | ||||||
* | Get rid of 'virtual methods without virtual destructor' warning. | Robert Bradshaw | 2013-11-01 | 1 | -0/+7 | |
| | ||||||
* | Clear tp_print for cdef classes. | Robert Bradshaw | 2013-11-01 | 1 | -0/+3 | |
| | ||||||
* | disable unnecessary PyType_IS_GC() check in PyPy (not supported) | Stefan Behnel | 2013-10-16 | 1 | -2/+4 | |
| | ||||||
* | clear global reference to module dict in module cleanup code | Stefan Behnel | 2013-10-13 | 1 | -0/+2 | |
| | ||||||
* | Merge branch 'int-conversion' | Robert Bradshaw | 2013-09-18 | 1 | -6/+5 | |
|\ | ||||||
| * | Python 2.4 fix. | Robert Bradshaw | 2013-08-28 | 1 | -0/+1 | |
| | | ||||||
| * | Fix some integer conversion tests. | Robert Bradshaw | 2013-08-26 | 1 | -0/+4 | |
| | | ||||||
| * | Remove old type conversion code. | Robert Bradshaw | 2013-08-24 | 1 | -6/+0 | |
| | | ||||||
* | | 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 |