Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update URLs to https:// in docs and comments | Jon Dufresne | 2019-01-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2775 from mbuesch/warning-fixes2 | Stefan Behnel | 2019-01-11 | 1 | -5/+21 |
|\ | | | | | Avoid const-ness compiler warning in __Pyx_PyObject_AsWritableString | ||||
| * | Avoid const-ness compiler warning in __Pyx_PyObject_AsWritableString | Michael Buesch | 2019-01-07 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | This avoids the compiler warning warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] by casting the pointer to uintptr_t before removing the const-ness. The warning was introduced in 6cd70f0914d327f21feb8535810414c12e021737 Also merge the two places that define stdint types. | ||||
* | | fix the comments to have a c89 compliant generated code | gastineau | 2019-01-02 | 1 | -2/+2 |
|/ | |||||
* | Avoid a C compiler warning in PyPy3. | Stefan Behnel | 2018-12-27 | 1 | -0/+3 |
| | |||||
* | Work around a C compiler warning (in PyPy's cpyext). | Stefan Behnel | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | Non-int conversion to Py_hash_t. | Robert Bradshaw | 2018-12-10 | 1 | -2/+2 |
| | | | | | | | | Still requires the more conservative __index__ here rather than a possibly truncating __int__ because this is used in a context where floating point values should probably be treated specially. This fixes Github issue #2752. | ||||
* | Merge branch 'release' | Stefan Behnel | 2018-11-24 | 1 | -1/+1 |
|\ | |||||
| * | Add type cast to resolve C4804 (unsafe bool usage) warning in MSVC. | Stefan Behnel | 2018-11-24 | 1 | -1/+1 |
| | | | | | | | | Closes #2731. | ||||
* | | Merge branch 'release' | Stefan Behnel | 2018-11-24 | 1 | -6/+8 |
|\ \ | |/ | |||||
| * | Do not set "__path__" attribute on non-package modules. | Stefan Behnel | 2018-11-24 | 1 | -6/+8 |
| | | |||||
* | | Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_support | Stefan Behnel | 2018-10-30 | 1 | -21/+4 |
|/ | | | | Closes #2692. | ||||
* | Workaround for long internals misconfiguration on 64-bit MinGW. | Robert Bradshaw | 2018-10-24 | 1 | -0/+4 |
| | | | | | | | | | | Also add a compile time check for SIZEOF_VOID_P. This fixes #2670. See also https://bugs.python.org/issue35037 https://bugs.python.org/issue4709 | ||||
* | Initial (incomplete) attempt at supporting the Py3.7 exception state stack. | Stefan Behnel | 2018-09-15 | 1 | -0/+7 |
| | |||||
* | Try to call "__rmod__()" during string %-formatting when the right side is a ↵ | Stefan Behnel | 2018-09-08 | 1 | -2/+3 |
| | | | | | | string subtype that implements it. See https://bugs.python.org/issue28598 | ||||
* | Clarify import error message: subinterpreters are supported, just not more ↵ | Stefan Behnel | 2018-08-25 | 1 | -1/+2 |
| | | | | than one. | ||||
* | Raise a more appropriate ImportError rather than a generic RuntimeError when ↵ | Stefan Behnel | 2018-08-25 | 1 | -1/+1 |
| | | | | trying to re-import a Cython module in a different subinterpreter with PEP-489. | ||||
* | Implement safe-guard to prevent loading Cython modules into multiple ↵ | Stefan Behnel | 2018-08-25 | 1 | -0/+27 |
| | | | | subinterpreters. | ||||
* | make the fast-call signature test compatible with Stackless Python | Anselm Kruis | 2018-08-13 | 1 | -1/+6 |
| | | | | Add METH_STACKLESS to the bit mask used to test the call signature. | ||||
* | Merge pull request #2537 from jakirkham/extern_py_raw_mem | scoder | 2018-08-11 | 1 | -0/+6 |
|\ | | | | | Add Python Raw memory helper functions | ||||
| * | Tweak Raw memory macros' version constraint | John Kirkham | 2018-08-09 | 1 | -1/+1 |
| | | | | | | | | | | Technically these functions were around in some of the Python 3.4 prereleases. So add a more accurate version constraint. | ||||
| * | Define Python Raw Mem helpers in ModuleSetupCode | John Kirkham | 2018-08-09 | 1 | -0/+6 |
| | | | | | | | | | | | | To handle the Python version differences, handle the definitions of `PyMem_Raw*` functions in `ModuleSetupCode`. Then extern them in `cpython.mem` without using a version check or a specific header. | ||||
* | | Enable PEP-489 multi-phase module initialisation, now that re-imports are ↵ | Stefan Behnel | 2018-08-10 | 1 | -3/+1 |
| | | | | | | | | handled with an error. | ||||
* | | Revert PEP-489 behaviour, but keep error raising code to make it easy to try ↵ | Stefan Behnel | 2018-08-10 | 1 | -1/+3 |
| | | | | | | | | both. | ||||
* | | Enable PEP-489 module initialisation again, but raise an error on re-inits. | Stefan Behnel | 2018-08-10 | 1 | -3/+1 |
|/ | |||||
* | Replace GCC's attribute optimize("Os") by the better supported and similar ↵ | Stefan Behnel | 2018-07-22 | 1 | -3/+2 |
| | | | | | | (cold). Closes #2494. | ||||
* | Merge branch '0.28.x' | Stefan Behnel | 2018-06-26 | 1 | -3/+11 |
|\ | |||||
| * | Add safety checks to prevent exception subtype checks with non-types. This ↵ | Stefan Behnel | 2018-06-26 | 1 | -3/+11 |
| | | | | | | | | raises a TypeError in Py3 now and we should handle that at some point. | ||||
* | | Merge branch '0.28.x' | Stefan Behnel | 2018-06-26 | 1 | -0/+25 |
|\ \ | |/ | |||||
| * | Correct the runtime handling of exception tuples in except clauses. | Stefan Behnel | 2018-06-26 | 1 | -0/+25 |
| | | | | | | | | Closes #2425. | ||||
* | | Adapt some non-const C-API declarations that were already constified in Py2.5. | Stefan Behnel | 2018-05-26 | 1 | -2/+2 |
| | | |||||
* | | Remove redundant helper function "__Pyx_ImportModule()" which was only ↵ | Stefan Behnel | 2018-05-26 | 1 | -8/+6 |
| | | | | | | | | needed in Py<2.6 when PyObject_GetAttrString() and PyImport_ImportModule() did not take const string arguments. | ||||
* | | Mark several one-time functions (used during module init) with ↵ | Stefan Behnel | 2018-05-25 | 1 | -13/+16 |
| | | | | | | | | CYTHON_SMALL_CODE to reduce their binary code impact on the overall module size. | ||||
* | | Merge branch '0.28.x' | Stefan Behnel | 2018-05-18 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Avoid segfault due to a bug in g++ 4.4.7 when the -Os setting for the module ↵ | Stefan Behnel | 2018-05-18 | 1 | -1/+2 |
| | | | | | | | | | | | | init function is enabled. Closes #2235. | ||||
* | | Merge branch '0.28.x' | Stefan Behnel | 2018-05-18 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Prevent UnicodeEncodeError in Py2 when ``%s`` formatting is optimised for ↵ | Stefan Behnel | 2018-05-18 | 1 | -0/+1 |
| | | | | | | | | unicode strings. | ||||
* | | Add obvious branch hint to dict caching macro. | Stefan Behnel | 2018-05-05 | 1 | -1/+1 |
| | | |||||
* | | Use dict versioning in Py3.6+ to make the lookup of Python module globals ↵ | Stefan Behnel | 2018-05-04 | 1 | -0/+4 |
| | | | | | | | | almost as fast as C globals. | ||||
* | | Use dict versioning in Py3.6+ to reduce the overhead of checking for the ↵ | Stefan Behnel | 2018-05-03 | 1 | -0/+24 |
|/ | | | | "C-line in tracebacks" runtime option. | ||||
* | In Python 3, an unbound method is just the function | Jeroen Demeyer | 2018-02-15 | 1 | -1/+1 |
| | |||||
* | Explicitly disable CYTHON_SMALL_CODE in clang. | Stefan Behnel | 2018-02-14 | 1 | -1/+3 |
| | |||||
* | Allow users to override the CYTHON_SMALL_CODE macro. | Stefan Behnel | 2018-02-14 | 1 | -0/+2 |
| | |||||
* | Optimise the module init function for small code size regardless of the ↵ | Stefan Behnel | 2018-02-14 | 1 | -0/+6 |
| | | | | | | externally provided CFLAGS. See #2102. | ||||
* | Reduce code overhead a little using a macro to get the sequence length of ↵ | Stefan Behnel | 2018-01-13 | 1 | -0/+7 |
| | | | | builtins. | ||||
* | Extract some generated plain code into a utility code file to make it more ↵ | Stefan Behnel | 2018-01-05 | 1 | -0/+14 |
| | | | | visible and editable. | ||||
* | Follow another fast-call signature change in CPython 3.7. | Stefan Behnel | 2017-12-15 | 1 | -4/+8 |
| | | | | https://bugs.python.org/issue32240 | ||||
* | Guard access to internal Unicode hash value with the correct macro. | Stefan Behnel | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | Improve preprocessor guard for new TSS API. | Stefan Behnel | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | Add PythonCompatibility Codes for TSS (Thread Specific Storage) API | sonots | 2017-10-31 | 1 | -0/+34 |
| |