Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
| * | Move CYTHON_UNUSED macro up such that included files can use it | Jeroen Demeyer | 2016-10-26 | 1 | -23/+23 | |
| | | ||||||
* | | Safelify macro. | Stefan Behnel | 2016-10-28 | 1 | -1/+1 | |
|/ | | | | Closes #1506 | |||||
* | Fix builtin Exception type checking. | Robert Bradshaw | 2016-10-25 | 1 | -0/+1 | |
| | | | | Closes #1496 | |||||
* | avoid potential conflict with typedefed name in CPython | Stefan Behnel | 2016-10-15 | 1 | -2/+4 | |
| | ||||||
* | special case METH_FASTCALL signatures of PyCFunctions in Py3.6+ | Stefan Behnel | 2016-10-15 | 1 | -0/+11 | |
| | ||||||
* | correctly handle PyCFunctions with METH_FASTCALL signature in Py3.6 | Stefan Behnel | 2016-10-15 | 1 | -0/+6 | |
| | ||||||
* | define HAVE_LONG_LONG if CPython does not but we know that it requires it | Stefan Behnel | 2016-09-18 | 1 | -0/+7 | |
| | ||||||
* | Merge branch 'typeid' | Robert Bradshaw | 2016-09-08 | 1 | -0/+3 | |
|\ | ||||||
| * | Add some more typeid tests. | Robert Bradshaw | 2016-09-08 | 1 | -0/+3 | |
| | | | | | | | | Adds support for simple FakeReference equality testing. | |||||
* | | copy and adapt fast Python function calling code from CPython 3.6 | Stefan Behnel | 2016-08-21 | 1 | -0/+7 | |
| | | ||||||
* | | directly call into CPython's Unicode writers to format float/int values, ↵ | Stefan Behnel | 2016-08-21 | 1 | -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() implementation | Stefan Behnel | 2016-08-20 | 1 | -0/+2 | |
| | | ||||||
* | | add comment | Stefan Behnel | 2016-08-16 | 1 | -0/+1 | |
| | | ||||||
* | | clean up Pyston macro setup | Stefan Behnel | 2016-08-16 | 1 | -6/+12 | |
| | | ||||||
* | | Add Pyston support | Boxiang Sun | 2016-08-08 | 1 | -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 Behnel | 2016-07-31 | 1 | -3/+8 | |
| | | | | section as the others | |||||
* | add macro indirections that apparently help making pyston happier | Stefan Behnel | 2016-07-31 | 1 | -0/+3 | |
| | ||||||
* | guard the usage of the new PEP 492 async type slots by an explicit feature macro | Stefan Behnel | 2016-07-31 | 1 | -11/+21 | |
| | ||||||
* | make new feature-specific guards overridable by user #defines in CPython to ↵ | Stefan Behnel | 2016-07-30 | 1 | -7/+28 | |
| | | | | allow switching them on and off for testing/debugging/benchmarking | |||||
* | replace generic "COMPILING_IN_*" C macros with feature specific guards that ↵ | Stefan Behnel | 2016-07-30 | 1 | -1/+15 | |
| | | | | allow a more fine-grained adaptation to C-API implementations | |||||
* | Work around missing Cygwin truncl. | Robert Bradshaw | 2016-05-17 | 1 | -0/+6 | |
| | ||||||
* | avoid code duplication in utility function by using macros | Stefan Behnel | 2016-04-22 | 1 | -0/+5 | |
| | ||||||
* | add fallback implementation for PyByteArray_Check() in PyPy | Stefan Behnel | 2016-04-06 | 1 | -0/+4 | |
| | ||||||
* | provide fallback implementation for PyObject_Format() in PyPy | Stefan Behnel | 2016-03-28 | 1 | -0/+4 | |
| | ||||||
* | F strings (PEP 498) | Robert Bradshaw | 2016-03-24 | 1 | -0/+4 | |
|\ | ||||||
| * | simplify code generated for f-string formatting using simple utility functions | Stefan Behnel | 2016-03-22 | 1 | -1/+0 | |
| | | ||||||
| * | make missing PyObject_ASCII() function sort-of available in Py2 (to be used ↵ | Stefan Behnel | 2016-03-21 | 1 | -0/+4 | |
| | | | | | | | | by f-strings) | |||||
| * | avoid formatting call overhead for simple Unicode value case | Stefan Behnel | 2016-03-21 | 1 | -0/+1 | |
| | | ||||||
* | | fix copy&paste bug | Stefan Behnel | 2016-03-24 | 1 | -1/+1 | |
| | | ||||||
* | | avoid truth-testing overhead in Py3.3+ also for non-ready (wchar_t) Unicode ↵ | Stefan Behnel | 2016-03-24 | 1 | -0/+2 | |
| | | | | | | | | strings | |||||
* | | avoid alignment overhead in internal struct | Stefan Behnel | 2016-03-24 | 1 | -1/+1 | |
|/ | ||||||
* | generally #define PyObject_Malloc() and friends to their PyMem_*() ↵ | Stefan Behnel | 2016-03-17 | 1 | -0/+6 | |
| | | | | counterparts in PyPy | |||||
* | Merge branch '0.23.x' | Stefan Behnel | 2015-09-30 | 1 | -1/+1 | |
|\ | | | | | | | | | Conflicts: CHANGES.rst | |||||
| * | suppress warning about unused value by casting it to (void) | Stefan Behnel | 2015-09-30 | 1 | -1/+1 | |
| | | ||||||
| * | Use reference rather than pointer for destructor calling. | Robert Bradshaw | 2015-09-01 | 1 | -2/+2 | |
| | | | | | | | | This avoids the issue with overloaded address-of operators. |