summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing static declarations.Robert Bradshaw2017-06-291-2/+2
|
* Another Python 3.3-3.4 fix.Robert Bradshaw2017-06-291-1/+1
|
* Allow cached threadstate to persist within nogil blocks.Robert Bradshaw2017-06-291-14/+31
|
* Avoid PyCapsule_Import for Python 2.6Robert Bradshaw2017-06-291-0/+4
|
* Fix actual method name for getting thread state.Robert Bradshaw2017-06-291-1/+1
|
* Fixes for other Python versions.Robert Bradshaw2017-06-291-1/+13
|
* Fix pedantic compiler error.Robert Bradshaw2017-06-291-1/+2
|
* Add an optimization for re-aquiring the GIL.Robert Bradshaw2017-06-291-0/+130
|
* Add a Pythran backend for Numpy operationAdrien Guinet2017-06-171-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 Bradshaw2017-02-251-0/+3
| | | | | | This allows return types such as std::map<K, V>. Fixes #1599
* Allow taking address of fake references.Robert Bradshaw2016-11-151-0/+1
| | | | This fixes #1519.
* Suppress unused function warnings for Clang.Robert Bradshaw2016-11-151-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 Bradshaw2016-11-151-0/+8
|
* Remove superfluous semicolons.Robert Bradshaw2016-11-141-2/+2
| | | | This closes #1522.
* Merge pull request #1503 from jdemeyer/cython_unusedscoder2016-10-291-23/+23
|\ | | | | Move CYTHON_UNUSED macro up such that included files can use it
| * Move CYTHON_UNUSED macro up such that included files can use itJeroen Demeyer2016-10-261-23/+23
| |
* | Safelify macro.Stefan Behnel2016-10-281-1/+1
|/ | | | Closes #1506
* Fix builtin Exception type checking.Robert Bradshaw2016-10-251-0/+1
| | | | Closes #1496
* avoid potential conflict with typedefed name in CPythonStefan Behnel2016-10-151-2/+4
|
* special case METH_FASTCALL signatures of PyCFunctions in Py3.6+Stefan Behnel2016-10-151-0/+11
|
* correctly handle PyCFunctions with METH_FASTCALL signature in Py3.6Stefan Behnel2016-10-151-0/+6
|
* define HAVE_LONG_LONG if CPython does not but we know that it requires itStefan Behnel2016-09-181-0/+7
|
* Merge branch 'typeid'Robert Bradshaw2016-09-081-0/+3
|\
| * Add some more typeid tests.Robert Bradshaw2016-09-081-0/+3
| | | | | | | | Adds support for simple FakeReference equality testing.
* | copy and adapt fast Python function calling code from CPython 3.6Stefan Behnel2016-08-211-0/+7
| |
* | directly call into CPython's Unicode writers to format float/int values, ↵Stefan Behnel2016-08-211-0/+10
| | | | | | | | rather than going all the way through PyObject_Format() and its method lookups
* | speed up f-string building with a specialised PyUnicode_Join() implementationStefan Behnel2016-08-201-0/+2
| |
* | add commentStefan Behnel2016-08-161-0/+1
| |
* | clean up Pyston macro setupStefan Behnel2016-08-161-6/+12
| |
* | Add Pyston supportBoxiang Sun2016-08-081-2/+35
|/ | | | | Pyston is another Python implementation. More like CPython + JIT. Patch Cython to add Pyston support.
* fold CYTHON_USE_PYLONG_INTERNALS feature macro into the same initialisation ↵Stefan Behnel2016-07-311-3/+8
| | | | section as the others
* add macro indirections that apparently help making pyston happierStefan Behnel2016-07-311-0/+3
|
* guard the usage of the new PEP 492 async type slots by an explicit feature macroStefan Behnel2016-07-311-11/+21
|
* make new feature-specific guards overridable by user #defines in CPython to ↵Stefan Behnel2016-07-301-7/+28
| | | | allow switching them on and off for testing/debugging/benchmarking
* replace generic "COMPILING_IN_*" C macros with feature specific guards that ↵Stefan Behnel2016-07-301-1/+15
| | | | allow a more fine-grained adaptation to C-API implementations
* Work around missing Cygwin truncl.Robert Bradshaw2016-05-171-0/+6
|
* avoid code duplication in utility function by using macrosStefan Behnel2016-04-221-0/+5
|
* add fallback implementation for PyByteArray_Check() in PyPyStefan Behnel2016-04-061-0/+4
|
* provide fallback implementation for PyObject_Format() in PyPyStefan Behnel2016-03-281-0/+4
|
* F strings (PEP 498)Robert Bradshaw2016-03-241-0/+4
|\
| * simplify code generated for f-string formatting using simple utility functionsStefan Behnel2016-03-221-1/+0
| |
| * make missing PyObject_ASCII() function sort-of available in Py2 (to be used ↵Stefan Behnel2016-03-211-0/+4
| | | | | | | | by f-strings)
| * avoid formatting call overhead for simple Unicode value caseStefan Behnel2016-03-211-0/+1
| |
* | fix copy&paste bugStefan Behnel2016-03-241-1/+1
| |
* | avoid truth-testing overhead in Py3.3+ also for non-ready (wchar_t) Unicode ↵Stefan Behnel2016-03-241-0/+2
| | | | | | | | strings
* | avoid alignment overhead in internal structStefan Behnel2016-03-241-1/+1
|/
* generally #define PyObject_Malloc() and friends to their PyMem_*() ↵Stefan Behnel2016-03-171-0/+6
| | | | counterparts in PyPy
* Merge branch '0.23.x'Stefan Behnel2015-09-301-1/+1
|\ | | | | | | | | Conflicts: CHANGES.rst
| * suppress warning about unused value by casting it to (void)Stefan Behnel2015-09-301-1/+1
| |
| * Use reference rather than pointer for destructor calling.Robert Bradshaw2015-09-011-2/+2
| | | | | | | | This avoids the issue with overloaded address-of operators.