summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Replace "#if !defined" -> "#ifndef" in utility codeLisandro Dalcin2015-03-271-4/+4
| |
* | move declaration of __Pyx_sst_abs() macro to TypeConversion.c instead of ↵Stefan Behnel2015-03-291-12/+0
| | | | | | | | more high-level ModuleSetupCode.c
* | improve declaration of __Pyx_sst_abs() macro to avoid using llabs() before C99Stefan Behnel2015-03-291-3/+11
| | | | | | | | | | --HG-- extra : amend_source : 69b25b07657205e86aade4f4f8285e721e4648b0
* | tune PyLong optimisations at (gcc) assembly level so that they prefer the ↵Stefan Behnel2015-03-281-0/+4
| | | | | | | | most common case of a single-digit
* | extend PyLong optimisations to larger negative numbers, enable it also in Py2.7Stefan Behnel2015-03-261-0/+4
| |
* | use shorter "#ifndef" instead of "#if defined()"Stefan Behnel2015-03-261-4/+4
|/
* PyPy3: Avoid redefining Py_TPFLAGS_XXX flagsLisandro Dalcin2015-03-091-3/+6
|
* Avoid incorrect copy when reference is stored to a temporary variable.Robert Bradshaw2015-02-041-1/+13
|
* use PyPy defined "Py_OptimizeFlag" is availableStefan Behnel2014-12-291-1/+1
|
* Allow cpdef void-returning functions.Robert Bradshaw2014-10-181-0/+2
|
* remove compatibility #define for PyMethod_New() as it breaks the macro ↵Stefan Behnel2014-10-101-4/+0
| | | | definition
* work around pypy3 bugStefan Behnel2014-10-091-3/+6
|
* fix PyMethod_New() in pypy3Stefan Behnel2014-10-081-1/+7
|
* work around PyPy not supporting PySet_Size() in frozenset objectsStefan Behnel2014-09-181-0/+3
|
* avoid redundant type pointer comparison in "__Pyx_PyBaseString_Check()" as ↵Stefan Behnel2014-09-071-2/+1
| | | | Py2.6+ already has fast builtin type checks
* Get rid of obsolete Python cruftLisandro Dalcin2014-08-311-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 Dalcin2014-05-161-1/+1
|\
| * PyPy: Release 2.3 do exposes Py_OptimizeFlag in the C APILisandro Dalcin2014-05-161-1/+1
| |
* | Merge branch '0.20.x'Lisandro Dalcin2014-05-051-1/+1
|\ \ | |/
| * Silent clang -Wconversion warningsLisandro Dalcin2014-05-041-1/+1
| |
* | Restore some over-eager 3.1 removals.Robert Bradshaw2014-02-221-6/+8
| |
* | More obsolete code removal.Robert Bradshaw2014-02-221-26/+5
| |
* | Remove obsolete utility code.Robert Bradshaw2014-02-221-107/+7
|/
* Clang-compatible C++ nested destructor call.Robert Bradshaw2014-02-181-0/+8
|
* code objects: add number of kwonly args to number of regular arguments in ↵Stefan Behnel2014-02-011-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 Behnel2014-01-281-2/+9
| | | | | --HG-- extra : amend_source : 8474ebfc7b6ab33b8cca9e4a478c54b2bee5f2fc
* Merge branch '0.20.x'Robert Bradshaw2014-01-181-2/+2
|\
| * Better unused warning suppression.Robert Bradshaw2014-01-181-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 Behnel2014-01-161-1/+1
|/ | | | case someone still uses Py3.2 alpha versions)
* call PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() ↵Stefan Behnel2014-01-101-1/+3
| | | | directly
* avoid useless metaclass searching overhead when creating Python class ↵Stefan Behnel2014-01-011-0/+2
| | | | without base classes
* optimise str % formattingStefan Behnel2013-12-311-1/+8
|
* improve type inference for string %/+/* operations and use more direct C-API ↵Stefan Behnel2013-12-061-0/+4
| | | | calls for these unicode operations
* call PyNumber_Int() for builtin int() functionStefan Behnel2013-11-231-0/+1
|
* inline PyUnicode_Compare() function for equality comparisonsStefan Behnel2013-11-101-0/+4
|
* minor readability fixStefan Behnel2013-11-021-1/+1
|
* extend semantics of 'basestring' typed variables to represent exactly ↵Stefan Behnel2013-10-061-1/+1
| | | | bytes/str/unicode but no subtypes
* Merge branch 'int-conversion'Robert Bradshaw2013-09-181-1/+1
|\
| * Python 2.4 fix.Robert Bradshaw2013-08-281-1/+1
| |
* | PyPy doesn't define Py_OptimizeFlag => always set it to off to enable assertionsStefan Behnel2013-08-301-0/+4
|/
* make generators use tp_finalize instead of tp_del for cleanup in Py3.4+Stefan Behnel2013-08-091-0/+4
|
* revert actual tp_finalize() usages, needs more thoughtStefan Behnel2013-08-061-4/+0
|
* fix CPython version checking for tp_finalize()Stefan Behnel2013-08-041-0/+4
|
* Fix external reference assignmentVitja Makarov2013-05-241-0/+9
|
* Fix compatibility with msvc < 1400Christoph Gohlke2013-05-111-1/+1
| | | Visual Studio .NET 2003, used by Python 2.5 32 bit, does not support the '__restrict' keyword.
* add CYTHON_RESTRICT definition for MSVCStefan Behnel2013-04-261-0/+2
|
* fix 'restrict' usage in g++Stefan Behnel2013-04-251-0/+11
|
* Fix build for non-C99 compatible compilersCharles Grunwald (Juntalis)2013-04-111-14/+14
|
* Ensure NAN is always initialized.Robert Bradshaw2013-04-091-0/+13
|
* enable Py_TPFLAGS_HAVE_VERSION_TAG on extension types by default (also in ↵Stefan Behnel2013-04-061-0/+4
| | | | Py2) and provide 'type_version_tag' option to disable it