Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Add missing static declarations. | Robert Bradshaw | 2017-06-29 | 1 | -2/+2 | |
| | ||||||
* | Another Python 3.3-3.4 fix. | Robert Bradshaw | 2017-06-29 | 1 | -1/+1 | |
| | ||||||
* | Allow cached threadstate to persist within nogil blocks. | Robert Bradshaw | 2017-06-29 | 1 | -14/+31 | |
| | ||||||
* | Avoid PyCapsule_Import for Python 2.6 | Robert Bradshaw | 2017-06-29 | 1 | -0/+4 | |
| | ||||||
* | Fix actual method name for getting thread state. | Robert Bradshaw | 2017-06-29 | 1 | -1/+1 | |
| | ||||||
* | Fixes for other Python versions. | Robert Bradshaw | 2017-06-29 | 1 | -1/+13 | |
| | ||||||
* | Fix pedantic compiler error. | Robert Bradshaw | 2017-06-29 | 1 | -1/+2 | |
| | ||||||
* | Add an optimization for re-aquiring the GIL. | Robert Bradshaw | 2017-06-29 | 1 | -0/+130 | |
| | ||||||
* | Add a Pythran backend for Numpy operation | Adrien Guinet | 2017-06-17 | 1 | -0/+29 | |
| | | | | | | | | | | | | When the user asked for it (thanks to the --np-pythran flag), use Pythran's Numpy implementation as a backend for numpy operation. This flag forces the C++ mode, as the Pythran implementation is written in C++. Distutils integration through the 'np_pythran' flag of the cythonize API is also provided. This commit also adds a Pythran mode for the tests, that can enable the pythran mode for the C++ tests, and allows the reuse of Cython tests to test for the Pythran integration. | |||||
* | Excape comma in dll_linkage macros. | Robert Bradshaw | 2017-02-25 | 1 | -0/+3 | |
| | | | | | | This allows return types such as std::map<K, V>. Fixes #1599 | |||||
* | Allow taking address of fake references. | Robert Bradshaw | 2016-11-15 | 1 | -0/+1 | |
| | | | | This fixes #1519. | |||||
* | Suppress unused function warnings for Clang. | Robert Bradshaw | 2016-11-15 | 1 | -2/+8 | |
| | | | | | | | | | | Cython uses many static inline utility functions. Most compilers don't emit warnings for such functions, but Clang does if they're not defined in header files. As such functions are often defined as a group (e.g. utility code for a specific type) it would be cumbersome to thin them out to those that happen to actually get used. Instead, simply suppress this warning for this compiler for all inline functions. | |||||
* | Suppress self-assignment warning. | Robert Bradshaw | 2016-11-15 | 1 | -0/+8 | |
| | ||||||
* | Remove superfluous semicolons. | Robert Bradshaw | 2016-11-14 | 1 | -2/+2 | |
| | | | | This closes #1522. | |||||
* | Merge pull request #1503 from jdemeyer/cython_unused | scoder | 2016-10-29 | 1 | -23/+23 | |
|\ | | | | | Move CYTHON_UNUSED macro up such that included files can use it |