- 07 Nov, 2020 9 commits
-
-
Zackery Spytz authored
The comments are taken from the C API documentation (https://docs.python.org/3.9/c-api/cell.html).
-
Stefan Behnel authored
-
jakirkham authored
Ensure that Cython exposes `PyBUF_MAX_NDIM` from Python as part of `cpython.buffer` to allow access to developers.
-
Stefan Behnel authored
Simplify the output stream capturing for the C compiler runs by using a temp file instead of threads.
-
da-woods authored
I think this approach is more satisfactory than the old way it used to "work", where "fused_to_specific" was permanently added to the module scope containing the fused type (in this case the Cython scope), was applied in "Scope.lookup_type", but continued to have an effect on the scope forever. Closes https://github.com/cython/cython/issues/3881
-
Ashwin Srinath authored
Closes https://github.com/cython/cython/issues/1355
-
Zackery Spytz authored
Closes https://github.com/cython/cython/issues/3242
-
Zackery Spytz authored
The comments are taken from the C API documentation: https://docs.python.org/3.9/c-api/codec.html
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/2251
-
- 08 Oct, 2020 10 commits
-
-
Stefan Behnel authored
-
ptype authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Make type identifier escaping deterministic: hash() hashing lead to unpredictable random prefixes for long names across multiple Python runs.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Jeppe Dakin authored
Split a combined assert in two to avoid an unused C temp variable when assertions are disabled. (GH-3870)
-
- 06 Oct, 2020 1 commit
-
-
Nick Pope authored
`xml.etree.ElementTree.Element.getiterator()` was deprecated in Python 2.7 & 3.2 and removed in Python 3.9.
-
- 13 Sep, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Add "check_size ignore" to all NumPy.pxd class declarations to silence the useless size warnings about them. See https://github.com/numpy/numpy/pull/432#issuecomment-689846159 Also remove the useless "extern" modifiers from cdef classes declared in "extern" sections.
-
- 04 Sep, 2020 2 commits
-
-
cf-natali authored
Fixes GH-2749.
-
Stefan Behnel authored
Rename "GCC_DIAGNOSTIC" macro to make it Cython specific and make it available to other utility code sections.
-
- 02 Aug, 2020 1 commit
-
-
Stefan Behnel authored
-
- 10 Jul, 2020 1 commit
-
-
Stefan Behnel authored
Prevent compile error when the result of repr() is assigned to a "unicode" LHS with language_level=3. Closes https://github.com/cython/cython/issues/3736
-
- 08 Jul, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Using Py_UNICODE to store lone surrogates makes Py3 join surrogate pairs on 16-bit Unicode platforms (Windows) when reading them back in, although we correctly processed them before. Instead, we now use the "unicode_escape" codec to store byte strings, because it can return surrogate characters (which the other codecs cannot).
-
- 07 Jul, 2020 9 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
will authored
-
Stefan Behnel authored
-
Clemens authored
Fixes https://github.com/cython/cython/issues/2093
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable Py_UNICODE fallback for __Pyx_UnicodeContainsUCS4() in Py3.9 since Py_UNICODE is deprecated and PEP-393 unicode is practically required.
-
scoder authored
* Really only use PyUnicode_FromUnicode() for strings that contain lone surrogate, not for normal non-BMP strings and not for surrogate pairs on 16bit Unicode platforms. See https://github.com/cython/cython/issues/3678 * Extend buildenv test to debug a MacOS problem. * Add a test for surrogate pairs in Unicode strings. * Limit PyUnicode_FromUnicode() usage to strings containing lone surrogates. * Accept ambiguity of surrogate pairs in Unicode string literals when generated on 16bit Py2 systems.
-
- 06 Jul, 2020 1 commit
-
-
Stefan Behnel authored
-