Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move CYTHON_NO_PYINIT_EXPORT utility code into external file to avoid ↵ | Stefan Behnel | 2017-10-28 | 1 | -0/+23 | |
| | | | | lengthy chain of plain text code generation. | |||||
* | Merge branch '0.27.x' | Stefan Behnel | 2017-10-20 | 1 | -3/+12 | |
|\ | ||||||
| * | PyPy3: Register module cleanup with atexit (PyModuleDef.m_free is not used)dalcinl/fix-module-cleanup | Lisandro Dalcin | 2017-10-18 | 1 | -2/+2 | |
| | | ||||||
| * | Fix definition CYTHON_FALLTHROUGH in module setup utility code | Lisandro Dalcin | 2017-10-15 | 1 | -1/+10 | |
| | | ||||||
* | | Split Python compatibility adaptation code out of ModulePreamble section and ↵ | Stefan Behnel | 2017-10-20 | 1 | -161/+164 | |
| | | | | | | | | into its own separate section to allow moving it around and support using CYTHON_INLINE etc. in it. | |||||
* | | Merge branch '0.27.x' | Stefan Behnel | 2017-10-14 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Tighten preprocessor check that avoids the "fallthrough" C compiler warnings. | Stefan Behnel | 2017-10-14 | 1 | -1/+1 | |
| | | | | | | | | Closes #1930. | |||||
* | | Merge branch '0.27.x' | Stefan Behnel | 2017-10-14 | 1 | -3/+1 | |
|\ \ | |/ | ||||||
| * | Simplify preprocessor code that avoids the "fallthrough" C compiler ↵ | Stefan Behnel | 2017-10-14 | 1 | -3/+1 | |
| | | | | | | | | | | | | warnings, assuming that "__has_attribute()" is widely supported these days. At least GCC 5.x and clang seem to have it. Closes #1930. | |||||
* | | Merge branch '0.27.x' | Stefan Behnel | 2017-10-14 | 1 | -2/+4 | |
|\ \ | |/ | ||||||
| * | Fix compiler warnings in clang and C++ about unknown "fallthrough" attribute. | Stefan Behnel | 2017-10-14 | 1 | -2/+4 | |
| | | | | | | | | Closes #1930. | |||||
* | | Speed up some dict lookups in Py3.5+ by calling the faster ↵ | Stefan Behnel | 2017-10-08 | 1 | -0/+6 | |
|/ | | | | "_PyDict_GetItem_KnownHash()" instead of "PyDict_GetItem()". | |||||
* | Fix typo. | Stefan Behnel | 2017-09-28 | 1 | -1/+1 | |
| | ||||||
* | Enforce single module initialisation despite PEP 489 allowing to re-execute ↵ | Stefan Behnel | 2017-09-28 | 1 | -0/+4 | |
| | | | | a module. | |||||
* | Disable PEP-489 support by default (*sigh*). It actually requires more than ↵ | Stefan Behnel | 2017-09-27 | 1 | -1/+3 | |
| | | | | | | Cython currently implements: sub-interpreter support and reloading support, i.e. per-interpreter module globals/types/state. Closes #1894. | |||||
* | Fix #if-#elif-#endif structure. | Stefan Behnel | 2017-09-25 | 1 | -1/+1 | |
| | ||||||
* | Remove duplicate code for fast access to PyThreadState. | Stefan Behnel | 2017-09-25 | 1 | -1/+2 | |
| | ||||||
* | Avoid depending on CPython micro level versions at compile time. Compiling ↵ | Stefan Behnel | 2017-09-25 | 1 | -2/+3 | |
| | | | | | | against 3.5.2 does not guarantee that we never get imported on 3.5.1. Closes #1880. | |||||
* | Avoid calling _PyDict_NewPresized() for len(dict) <=8, which is the minimum ↵ | Stefan Behnel | 2017-09-15 | 1 | -1/+1 | |
| | | | | dict size in CPython. | |||||
* | Avoid dict resizing while creating fixed-size dicts. | Stefan Behnel | 2017-09-14 | 1 | -0/+6 | |
| | ||||||
* | Add flag CYTHON_USE_TP_FINALIZEto control whether tp_finalize is used. | Ronan Lamy | 2017-09-13 | 1 | -0/+7 | |
| | | | | Disable it on pypy3, since it doesn't support PEP 442 yet. | |||||
* | Enable CYTHON_USE_ASYNC_SLOTS on pypy3.5 | Ronan Lamy | 2017-09-13 | 1 | -2/+6 | |
| | ||||||
* | Move future division #defines out of ModuleNode.py. | Stefan Behnel | 2017-09-05 | 1 | -0/+8 | |
| | ||||||
* | Correct CPython version check: _PyThreadState_UncheckedGet() was not added ↵ | Stefan Behnel | 2017-09-02 | 1 | -1/+1 | |
| | | | | before 3.5.2. | |||||
* | Remove support and special handling code for Py3.2. | Stefan Behnel | 2017-08-25 | 1 | -1/+1 | |
| | ||||||
* | Allow C++ classes to have Python object members. | Robert Bradshaw | 2017-08-25 | 1 | -0/+3 | |
| | ||||||
* | use slightly faster thread state access where we know that we own the GIL | Stefan Behnel | 2017-08-12 | 1 | -8/+11 | |
| | ||||||
* | Merge pull request #1794 from scoder/pep489_multi_phase_init | scoder | 2017-08-09 | 1 | -0/+53 | |
|\ | | | | | implement PEP 489 multi-phase module initialisation in Py3.5+ | |||||
| * | silence C compiler warning about unused argument | Stefan Behnel | 2017-07-23 | 1 | -1/+1 | |
| | | ||||||
| * | remove redundant C defines around helper code (already applied where helper ↵ | Stefan Behnel | 2017-07-23 | 1 | -2/+2 | |
| | | | | | | | | is used) | |||||
| * | implement PEP 489 multi-phase module initialisation in Py3.5+ | Stefan Behnel | 2017-07-22 | 1 | -0/+53 | |
| | | ||||||
* | | Merge pull request #1802 from scoder/_pep525_async_gen | scoder | 2017-08-09 | 1 | -5/+110 | |
|\ \ | | | | | | | PEP 525: asynchronous generators | |||||
| * | | do not call PyObject_IsSubclass() with an exception set (instead rely on it ↵ | Stefan Behnel | 2017-08-01 | 1 | -3/+2 | |
| | | | | | | | | | | | | being cleared when printing it before) | |||||
| * | | reduce amount of casts in helper code | Stefan Behnel | 2017-08-01 | 1 | -10/+10 | |
| | | | ||||||
| * | | fix argument types in call to PyErr_WriteUnraisable() | Stefan Behnel | 2017-08-01 | 1 | -2/+2 | |
| | | | ||||||
| * | | fix argument types in call to PyObject_IsSubclass() | Stefan Behnel | 2017-08-01 | 1 | -2/+2 | |
| | | | ||||||
| * | | speed up type checks, especially for exceptions (which are used a lot in ↵ | Stefan Behnel | 2017-07-31 | 1 | -1/+105 | |
| | | | | | | | | | | | | yield/await) | |||||
| * | | solve most of the issues with failing async-gen tests, some asyncio tests ↵ | Stefan Behnel | 2017-07-29 | 1 | -4/+6 | |
| | | | | | | | | | | | | are still failing | |||||
* | | | remove duplicated "IsLittleEndian" helper (already exists in ↵ | Stefan Behnel | 2017-08-01 | 1 | -2/+2 | |
|/ / | | | | | | | ModuleSetupCode.c now) | |||||
* | | use a dedicated macro to guard calls to _PyType_Lookup() | Stefan Behnel | 2017-07-26 | 1 | -0/+11 | |
|/ | ||||||
* | Merge branch 'release' | Robert Bradshaw | 2017-07-14 | 1 | -3/+13 | |
|\ | ||||||
| * | Fix (still unused by default) fast GIL sharing. | Robert Bradshaw | 2017-07-14 | 1 | -3/+13 | |
| | | ||||||
* | | add link to CPython issue in comment for future reference | Stefan Behnel | 2017-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '_METH_FASTCALL_py37' | Stefan Behnel | 2017-07-13 | 1 | -6/+11 | |
|\ \ | |/ |/| | ||||||
| * | adapt METH_FASTCALL handling to signature change of _PyCFunctionFast() in Py3.7 | Stefan Behnel | 2017-07-09 | 1 | -6/+11 | |
| | | ||||||
* | | Isolate C++ fallthrough detection. | Robert Bradshaw | 2017-07-10 | 1 | -8/+14 | |
| | | ||||||
* | | First attempt at explicit fallthrough annotation. | Robert Bradshaw | 2017-07-08 | 1 | -0/+21 | |
|/ | ||||||
* | Suppress unreachable code warning on clang. | Robert Bradshaw | 2017-07-03 | 1 | -1/+1 | |
| | ||||||
* | Conditionally use FastGil utility code. | Robert Bradshaw | 2017-07-03 | 1 | -0/+5 | |
| | ||||||
* | Fix warning. | Robert Bradshaw | 2017-06-29 | 1 | -1/+1 | |
| |