Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | undef unwanted defines from longintrepr.h | Jeroen Demeyer | 2015-09-04 | 1 | -0/+4 | |
| | | ||||||
* | | Use reference rather than pointer for destructor calling. | Robert Bradshaw | 2015-08-28 | 1 | -2/+2 | |
| | | | | | | | | This avoids the issue with overloaded address-of operators. | |||||
* | | Move "longintrepr.h" inclusion before any user includes. | Robert Bradshaw | 2015-08-13 | 1 | -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 otherwise | Stefan Behnel | 2015-08-08 | 1 | -1/+1 | |
|/ | | | | prevent non-const char* string literals from being interned | |||||
* | More explicit warning when C++ compiler not used for C++ Cython file. | Robert Bradshaw | 2015-07-22 | 1 | -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 Bradshaw | 2015-07-15 | 1 | -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 PyPy | Stefan Behnel | 2015-07-08 | 1 | -1/+1 | |
| | ||||||
* | fix binary search in code object cache | Lars Buitinck | 2015-06-16 | 1 | -1/+1 | |
| | | | | (start + end) can overflow. | |||||
* | keep C++ code out of C files and vice-versa by splitting module preamble ↵ | Stefan Behnel | 2015-06-06 | 1 | -27/+45 | |
| | | | | (original patch by Lars Mans) | |||||
* | backport PyAsyncMethods and tp_as_async slot to all Py3.x versions (not only ↵ | Stefan Behnel | 2015-05-29 | 1 | -0/+16 | |
| | | | | Py3.5+) | |||||
* | Merge branch '0.22.x' | Stefan Behnel | 2015-04-11 | 1 | -0/+4 | |
|\ | ||||||
| * | define PyUnicode_Contains() in PyPy if it's not available | Stefan Behnel | 2015-04-11 | 1 | -0/+4 | |
| | | ||||||
* | | switch to using PySet_GET_SIZE() for set size and truth requests as it's ↵ | Stefan Behnel | 2015-04-10 | 1 | -3/+0 | |
| | | | | | | | | fast and also works as expected in PyPy | |||||
* | | Merge branch '0.22.x' | Stefan Behnel | 2015-04-10 | 1 | -0/+8 | |
|\ \ | |/ | ||||||
| * | be more explicit about "unused argument" marker in cases where it's only ↵ | Stefan Behnel | 2015-04-10 | 1 | -0/+8 | |
| | | | | | | | | unused in non-CPython code | |||||
| * | Replace "#if !defined" -> "#ifndef" in utility code | Lisandro Dalcin | 2015-03-27 | 1 | -4/+4 | |
| | | ||||||
* | | move declaration of __Pyx_sst_abs() macro to TypeConversion.c instead of ↵ | Stefan Behnel | 2015-03-29 | 1 | -12/+0 | |
| | | | | | | | | more high-level ModuleSetupCode.c | |||||
* | | improve declaration of __Pyx_sst_abs() macro to avoid using llabs() before C99 | Stefan Behnel | 2015-03-29 | 1 | -3/+11 | |
| | | | | | | | | | | --HG-- extra : amend_source : 69b25b07657205e86aade4f4f8285e721e4648b0 | |||||
* | | tune PyLong optimisations at (gcc) assembly level so that they prefer the ↵ | Stefan Behnel | 2015-03-28 | 1 | -0/+4 | |
| | | | | | | | | most common case of a single-digit | |||||
* | | extend PyLong optimisations to larger negative numbers, enable it also in Py2.7 | Stefan Behnel | 2015-03-26 | 1 | -0/+4 | |
| | | ||||||
* | | use shorter "#ifndef" instead of "#if defined()" | Stefan Behnel | 2015-03-26 | 1 | -4/+4 | |
|/ | ||||||
* | PyPy3: Avoid redefining Py_TPFLAGS_XXX flags | Lisandro Dalcin | 2015-03-09 | 1 | -3/+6 | |
| | ||||||
* | Avoid incorrect copy when reference is stored to a temporary variable. | Robert Bradshaw | 2015-02-04 | 1 | -1/+13 | |
| | ||||||
* | use PyPy defined "Py_OptimizeFlag" is available | Stefan Behnel | 2014-12-29 | 1 | -1/+1 | |
| | ||||||
* | Allow cpdef void-returning functions. | Robert Bradshaw | 2014-10-18 | 1 | -0/+2 | |
| | ||||||
* | remove compatibility #define for PyMethod_New() as it breaks the macro ↵ | Stefan Behnel | 2014-10-10 | 1 | -4/+0 | |
| | | | | definition | |||||
* | work around pypy3 bug | Stefan Behnel | 2014-10-09 | 1 | -3/+6 | |
| | ||||||
* | fix PyMethod_New() in pypy3 | Stefan Behnel | 2014-10-08 | 1 | -1/+7 | |
| | ||||||
* | work around PyPy not supporting PySet_Size() in frozenset objects | Stefan Behnel | 2014-09-18 | 1 | -0/+3 | |
| | ||||||
* | avoid redundant type pointer comparison in "__Pyx_PyBaseString_Check()" as ↵ | Stefan Behnel | 2014-09-07 | 1 | -2/+1 | |
| | | | | Py2.6+ already has fast builtin type checks | |||||
* | Get rid of obsolete Python cruft | Lisandro Dalcin | 2014-08-31 | 1 | -17/+4 | |
| | | | | | | | * Remove macros __Pyx_{NAME|DOC}STR * Remove macros __Pyx_{Get|Set|Del}AttrString * Remove macro __Pyx_PyIndex_Check * Remove workaround for missing BaseException in builtins | |||||
* | Merge branch '0.20.x' | Lisandro Dalcin | 2014-05-16 | 1 | -1/+1 | |
|\ | ||||||
| * | PyPy: Release 2.3 do exposes Py_OptimizeFlag in the C API | Lisandro Dalcin | 2014-05-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '0.20.x' | Lisandro Dalcin | 2014-05-05 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Silent clang -Wconversion warnings | Lisandro Dalcin | 2014-05-04 | 1 | -1/+1 | |
| | | ||||||
* | | Restore some over-eager 3.1 removals. | Robert Bradshaw | 2014-02-22 | 1 | -6/+8 | |
| | | ||||||
* | | More obsolete code removal. | Robert Bradshaw | 2014-02-22 | 1 | -26/+5 | |
| | | ||||||
* | | Remove obsolete utility code. | Robert Bradshaw | 2014-02-22 | 1 | -107/+7 | |
|/ | ||||||
* | Clang-compatible C++ nested destructor call. | Robert Bradshaw | 2014-02-18 | 1 | -0/+8 | |
| | ||||||
* | code objects: add number of kwonly args to number of regular arguments in ↵ | Stefan Behnel | 2014-02-01 | 1 | -1/+1 | |
| | | | | Py2 (which does not support kwonly arguments for Python functions) to make sure they are still visible for introspection | |||||
* | work around PyPy not defining PyUnicode_Concat() | Stefan Behnel | 2014-01-28 | 1 | -2/+9 | |
| | | | | | --HG-- extra : amend_source : 8474ebfc7b6ab33b8cca9e4a478c54b2bee5f2fc | |||||
* | Merge branch '0.20.x' | Robert Bradshaw | 2014-01-18 | 1 | -2/+2 | |
|\ | ||||||
| * | Better unused warning suppression. | Robert Bradshaw | 2014-01-18 | 1 | -2/+2 | |
| | | | | | | | | | | The (k=k) can results in "multiple unsequenced modifications to 'kind'" warning when this macro is expanded twice in the same expression. | |||||
* | | minor Py hex version fix for patch level when Py_hash_t was added (just in ↵ | Stefan Behnel | 2014-01-16 | 1 | -1/+1 | |
|/ | | | | case someone still uses Py3.2 alpha versions) | |||||
* | call PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() ↵ | Stefan Behnel | 2014-01-10 | 1 | -1/+3 | |
| | | | | directly | |||||
* | avoid useless metaclass searching overhead when creating Python class ↵ | Stefan Behnel | 2014-01-01 | 1 | -0/+2 | |
| | | | | without base classes | |||||
* | optimise str % formatting | Stefan Behnel | 2013-12-31 | 1 | -1/+8 | |
| | ||||||
* | improve type inference for string %/+/* operations and use more direct C-API ↵ | Stefan Behnel | 2013-12-06 | 1 | -0/+4 | |
| | | | | calls for these unicode operations | |||||
* | call PyNumber_Int() for builtin int() function | Stefan Behnel | 2013-11-23 | 1 | -0/+1 | |
| | ||||||
* | inline PyUnicode_Compare() function for equality comparisons | Stefan Behnel | 2013-11-10 | 1 | -0/+4 | |
| |