summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| * used copied CPython PyCFunction_Call() function also for fused functions in PyPyStefan Behnel2012-04-081-6/+0
| |
* | replace plain '#define CYTHON_PEP393_ENABLED' by flag #define as 1 or 0 to ↵Stefan Behnel2012-04-101-1/+2
|/ | | | make it usable from Cython code
* if undefined, define Py_HUGE_VAL the way CPython does it (for PyPy)Stefan Behnel2012-02-221-0/+4
| | | | | --HG-- extra : transplant_source : %D9%C4%E5%B7%FC9%0D%60%80R%E2%87%82S%9D%9C%8Bd%C3%C5
* partial application of some PyPy related changes as far as they are ↵Stefan Behnel2012-03-111-0/+14
| | | | | | | uncontroversial and helpful for further utility code refactorings --HG-- extra : transplant_source : %F8%87%C7%8B%90w%7E%8EG%04C%A9%89%9B%3E%FB%8CCp%F9
* move 'init threads' utility code to ModuleSetupCode.c fileStefan Behnel2012-03-161-0/+10
|
* fixed unused function warning about __pyx_clear_code_object_cache() when ↵Stefan Behnel2012-02-291-17/+14
| | | | cleanup code is not being generated
* moved refnanny utility code into ModuleSetupCode.cStefan Behnel2012-02-291-0/+76
|
* Fix Py_ssize_t missing in Py2.4 for ext module C-API headersLisandro Dalcin2012-02-241-2/+2
|
* externalise module/type importing utility codeStefan Behnel2012-02-241-0/+84
|
* fix public C-APIs: was missing macro definition of ↵Stefan Behnel2012-02-241-2/+11
| | | | __Pyx_PyIdentifier_FromString()
* Allow inter-module memoryview buffer acquiring for py < 2.6Mark Florisson2012-02-201-0/+2
|
* Default to int Py_BuildValue format in py24 for Py_ssize_tMark Florisson2012-02-041-0/+3
|