summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix type of string constant length field in string table to Py_ssize_t ↵Stefan Behnel2013-03-151-1/+2
| | | | (instead of long)
* optimise isinstance(obj, basestring) and map basestring to unicode in Py3Stefan Behnel2013-03-021-0/+9
|
* move some helper code into external utility code filesStefan Behnel2012-12-091-0/+32
|
* Use __Pyx_PyIndex_Check instead of PyIndex_CheckMark Florisson2012-11-111-1/+4
|
* always set CYTHON_FORMAT_SSIZE_T to 'z' on Py2.5+Stefan Behnel2012-08-311-12/+2
|
* use '%lld' format for Py_ssize_t on Win64+MSVC if supportedStefan Behnel2012-08-311-0/+6
|
* Define CYTHON_FORMAT_SSIZE_T for use in PyErr_Format and PyString_FromFormatcgohlke2012-08-301-0/+6
|
* reduce code redundancy in Py2/3 cleanup code setupStefan Behnel2012-08-261-6/+9
|
* work around 'unused function __Pyx_ImportModule()' compiler warningStefan Behnel2012-08-261-1/+7
|
* factored import/export utility code out into separate utility code file ↵Stefan Behnel2012-08-251-96/+1
| | | | ImportExport.c
* use proper module.m_free() way to run module cleanup code in Py3, way after ↵Stefan Behnel2012-08-251-3/+5
| | | | running atexit functions etc.
* clean up injection of RegisterModuleCleanup utility codeStefan Behnel2012-08-251-0/+1
|
* atexit._exithandlers is no longer available in Py3Stefan Behnel2012-08-251-2/+5
|
* improve module cleanup safety a little by making Cython cleanup functions ↵Stefan Behnel2012-08-251-13/+38
| | | | run last by atexit
* moved utility code for registering the module cleanup function into ↵Stefan Behnel2012-08-251-0/+48
| | | | Cython/Utility/ModuleSetupCode.c
* prevent calling PyEval_InitThreads() when CPython is built without threadsStefan Behnel2012-07-181-0/+2
|
* macro fix for Py2.4 in C++ modeStefan Behnel2012-05-121-4/+4
|
* more correct fake implementation of PyNumber_Index() and PyIndex_Check() for ↵Stefan Behnel2012-05-121-2/+5
| | | | Py2.4
* call PyUnicode_READY() during unicode indexing to comply with C-API constraintsStefan Behnel2012-04-181-0/+3
|
* moved unicode iteration setup code into utility function to reduce per-loop ↵Stefan Behnel2012-04-181-6/+0
| | | | C code overhead
* fix: make sure PyUnicode_READY() is called before unicode iterationStefan Behnel2012-04-151-0/+2
|
* reimplement unicode character iteration for PEP393 (Py3.3+)Stefan Behnel2012-04-141-4/+11
|
* Merge pull request #110 from scoder/pypyscoder2012-04-121-6/+0
|\ | | | | Better support for PyPy's cpyext C-API