Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Export "PyInit___init__" and "init__init__" as additional module init ↵pkg_init_windows | Stefan Behnel | 2019-01-11 | 1 | -0/+9 |
| | | | | functions under Windows to make compiled packages work. | ||||
* | Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_support | Stefan Behnel | 2018-10-30 | 1 | -2/+2 |
| | | | | Closes #2692. | ||||
* | Workaround for long internals misconfiguration on 64-bit MinGW. | Robert Bradshaw | 2018-10-24 | 1 | -0/+5 |
| | | | | | | | | | | Also add a compile time check for SIZEOF_VOID_P. This fixes #2670. See also https://bugs.python.org/issue35037 https://bugs.python.org/issue4709 | ||||
* | Fix type import enum. | Robert Bradshaw | 2018-10-02 | 1 | -0/+1 |
| | |||||
* | Use enum rather than int for size_check. | Robert Bradshaw | 2018-10-02 | 1 | -9/+5 |
| | |||||
* | Rename check_size extend option to ignore. | Robert Bradshaw | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | Rename the options of the "check_size" feature to make them more obvious: ↵ | Stefan Behnel | 2018-09-29 | 1 | -4/+4 |
| | | | | | | "warn" warns, "error" fails, and "extend" silently allows extending. Closes #2627. | ||||
* | Minor cleanups of 'check_size' implementation (#2627). | Stefan Behnel | 2018-09-29 | 1 | -5/+2 |
| | |||||
* | MAINT: fixes from review | mattip | 2018-09-25 | 1 | -2/+2 |
| | |||||
* | MAINT: fixes from review | mattip | 2018-09-25 | 1 | -5/+8 |
| | |||||
* | MAINT: cannot use local enum in __Pyx functions | mattip | 2018-09-25 | 1 | -5/+5 |
| | |||||
* | ENH: add check_size option to ctypedef class for external classes | mattip | 2018-09-25 | 1 | -4/+15 |
| | |||||
* | Exclude 'const' globals from star-importing since they can't get assigned ↵ | Stefan Behnel | 2018-09-22 | 1 | -1/+1 |
| | | | | | | anyway. Closes #2621. | ||||
* | Reduce the processing overhead in the debug line mapping writer a little. | Stefan Behnel | 2018-08-28 | 1 | -10/+10 |
| | |||||
* | Add a "CYTHON_HEX_VERSION" macro in the style of PY_HEX_VERSION that user ↵ | Stefan Behnel | 2018-08-26 | 1 | -1/+2 |
| | | | | code can use to detect the Cython version that generated the main module. | ||||
* | Move PyFrame localsplus offset calculation to a more appropriate utility ↵ | Stefan Behnel | 2018-08-14 | 1 | -0/+2 |
| | | | | file where it can be included conditionally. | ||||
* | make __Pyx_PyFunction_FastCallNoKw compatible with Stackless Python | Anselm Kruis | 2018-08-14 | 1 | -0/+1 |
| | | | | | | Compute the offset of the PyFrameObject member "f_localsplus" at runtime, because the layout of PyFrameObject differs between regular C-python and Stackless Python. | ||||
* | Added the pep8 test to travis. All the warnings are disabled and only a few ↵ | gabrieldemarmiesse | 2018-08-11 | 1 | -1/+1 |
| | | | | error checks are enabled. | ||||
* | Actually enable the error on PEP-489 module reinitialisation, and add it to ↵ | Stefan Behnel | 2018-08-10 | 1 | -5/+4 |
| | | | | the changelog. | ||||
* | Mark error raising code in PEP 489 init phase as TODO. | Stefan Behnel | 2018-08-10 | 1 | -6/+6 |
| | |||||
* | Revert PEP-489 behaviour, but keep error raising code to make it easy to try ↵ | Stefan Behnel | 2018-08-10 | 1 | -8/+13 |
| | | | | both. | ||||
* | Make error message more informative. | Stefan Behnel | 2018-08-10 | 1 | -1/+2 |
| | |||||
* | Enable PEP-489 module initialisation again, but raise an error on re-inits. | Stefan Behnel | 2018-08-10 | 1 | -5/+7 |
| | |||||
* | Allow C line in traceback also during module init | Jeroen Demeyer | 2018-07-12 | 1 | -2/+1 |
| | |||||
* | Repair inclusion of TypeImport utility code for api .h files. | Stefan Behnel | 2018-06-17 | 1 | -2/+4 |
| | |||||
* | Fix C compiler warnings about an unused error label and an unused helper ↵ | Stefan Behnel | 2018-06-17 | 1 | -4/+9 |
| | | | | function if only builtin types are used and no external extension types. | ||||
* | Generate short wrappers for special methods like "__next__()" to adapt their ↵ | Stefan Behnel | 2018-06-17 | 1 | -1/+7 |
| | | | | | | | signature for the PyCFunction entry in PyMethodDef. Previously, their cast to a two-argument PyCFunction was incorrect. See #2363. | ||||
* | Merge branch '0.28.x' | Stefan Behnel | 2018-06-03 | 1 | -1/+1 |
|\ | |||||
| * | Fix: reallowing tp_clear() in a subtype of an @no_gc_clear extension type ↵ | Stefan Behnel | 2018-06-03 | 1 | -1/+1 |
| | | | | | | | | | | | | generated an invalid C function call to the (non-existent) base type implementation. Closes #2309. | ||||
* | | Remove undefined branch hint macro usage from generated api header file. | Stefan Behnel | 2018-05-26 | 1 | -1/+1 |
| | | |||||
* | | Remove redundant helper function "__Pyx_ImportModule()" which was only ↵ | Stefan Behnel | 2018-05-26 | 1 | -9/+4 |
| | | | | | | | | needed in Py<2.6 when PyObject_GetAttrString() and PyImport_ImportModule() did not take const string arguments. | ||||
* | | Avoid redundant importing of modules when cimporting external extension ↵ | Stefan Behnel | 2018-05-26 | 1 | -23/+63 |
| | | | | | | | | types from the same module. | ||||
* | | Add comment. | Stefan Behnel | 2018-05-26 | 1 | -0/+2 |
| | | |||||
* | | Avoid a dangling pointer in the global "__pyx_m" variable while decrefing it. | Stefan Behnel | 2018-05-25 | 1 | -1/+1 |
| | | |||||
* | | Mark several one-time functions (used during module init) with ↵ | Stefan Behnel | 2018-05-25 | 1 | -2/+7 |
| | | | | | | | | CYTHON_SMALL_CODE to reduce their binary code impact on the overall module size. | ||||
* | | Merge branch '0.28.x' | Stefan Behnel | 2018-05-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix error reporting on very early errors when the Cython runtime ↵ | Stefan Behnel | 2018-05-21 | 1 | -1/+1 |
| | | | | | | | | | | | | configuration module is not set up yet. See #2199. | ||||
* | | Intern some identifier names that are likely to be otherwise interned anyway. | Stefan Behnel | 2018-05-18 | 1 | -4/+3 |
| | | |||||
* | | Allow access to long/int internals | Jeroen Demeyer | 2018-05-03 | 1 | -0/+5 |
|/ | |||||
* | COMPAT: From the next release PyPy fixed tp_basicsize of PyType_Type | mattip | 2018-03-21 | 1 | -1/+1 |
| | |||||
* | Remove invalid GCC attribute usage when PEP-489 is enabled. | Stefan Behnel | 2018-03-18 | 1 | -1/+1 |
| | |||||
* | Work around BPO-32973: CPython 3 can rerun the module PyInit function if the ↵ | Stefan Behnel | 2018-03-02 | 1 | -0/+6 |
| | | | | | | extension module is re-imported under a different name. https://bugs.python.org/issue32973 | ||||
* | Make CYTHON_SMALL_CODE macro work with g++. | Stefan Behnel | 2018-02-14 | 1 | -3/+3 |
| | |||||
* | Optimise the module init function for small code size regardless of the ↵ | Stefan Behnel | 2018-02-14 | 1 | -3/+4 |
| | | | | | | externally provided CFLAGS. See #2102. | ||||
* | Optimise attribute access on extension types with "__getattr__" but without ↵ | Stefan Behnel | 2018-01-24 | 1 | -10/+25 |
| | | | | instance dict through a streamlined copy of "PyObject_GenericGetAttr". | ||||
* | Extract some generated plain code into a utility code file to make it more ↵ | Stefan Behnel | 2018-01-05 | 1 | -9/+2 |
| | | | | visible and editable. | ||||
* | Verbatim C code using docstring syntax. | Jeroen Demeyer | 2017-11-17 | 1 | -20/+14 |
| | |||||
* | Merge branch 'master' into multi-inheritance | Robert Bradshaw | 2017-11-07 | 1 | -23/+97 |
|\ | |||||
| * | Add docstring. | Stefan Behnel | 2017-11-05 | 1 | -0/+8 |
| | | |||||
| * | Enable the refnanny for the separate mod-init step functions as it is ↵ | Stefan Behnel | 2017-11-05 | 1 | -1/+5 |
| | | | | | | | | required for temp checking. |