summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
* | undef unwanted defines from longintrepr.hJeroen Demeyer2015-09-041-0/+4
| |
* | Use reference rather than pointer for destructor calling.Robert Bradshaw2015-08-281-2/+2
| | | | | | | | This avoids the issue with overloaded address-of operators.
* | Move "longintrepr.h" inclusion before any user includes.Robert Bradshaw2015-08-131-7/+10
| | | | | | | | | | | | | | | | This solves the issue reported by Volker Braun where conflicting using aliases of uint64_t would result in compile time errors. Unfortunately, this also means that it's always included if CYTHON_USE_PYLONG_INTERNALS is set, but it's a short header.
* | make C char* string literals "const" unless specified otherwiseStefan Behnel2015-08-081-1/+1
|/ | | | prevent non-const char* string literals from being interned
* More explicit warning when C++ compiler not used for C++ Cython file.Robert Bradshaw2015-07-221-0/+4
| | | | | Now that we split CInitCode and CppInitCode, we no longer generate valid C code even if C++ features are not used.
* Fix issue with const reference returned results.Robert Bradshaw2015-07-151-1/+3
| | | | | | This is a bit of a hack, but as Cython doesn't yet understand const overloads with different (usually const) return types, it can't provide the right type of reference in this case.
* disable "tp_reserved" usage in PyPyStefan Behnel2015-07-081-1/+1
|
* fix binary search in code object cacheLars Buitinck2015-06-161-1/+1
| | | | (start + end) can overflow.
* keep C++ code out of C files and vice-versa by splitting module preamble ↵Stefan Behnel2015-06-061-27/+45
| | | | (original patch by Lars Mans)
* backport PyAsyncMethods and tp_as_async slot to all Py3.x versions (not only ↵Stefan Behnel2015-05-291-0/+16
| | | | Py3.5+)
* Merge branch '0.22.x'Stefan Behnel2015-04-111-0/+4
|\
| * define PyUnicode_Contains() in PyPy if it's not availableStefan Behnel2015-04-111-0/+4
| |
* | switch to using PySet_GET_SIZE() for set size and truth requests as it's ↵Stefan Behnel2015-04-101-3/+0
| | | | | | | | fast and also works as expected in PyPy
* | Merge branch '0.22.x'Stefan Behnel2015-04-101-0/+8
|\ \ | |/
| * be more explicit about "unused argument" marker in cases where it's only ↵Stefan Behnel2015-04-101-0/+8
| | | | | | | | unused in non-CPython code