- 12 Feb, 2020 5 commits
-
-
Stefan Behnel authored
Closes #3330.
-
mitch authored
-
Stefan Behnel authored
-
Matti Picus authored
-
da-woods authored
The pickle functions __reduce__ and __setstate_cython__ were being visited in the module scope (where they were undeclared) rather than the class scope where they were declared
-
- 06 Feb, 2020 1 commit
-
-
Stefan Behnel authored
-
- 30 Jan, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Make sure we always use the correct post-analysed bases, mkw and metaclass in Python class creation by making the PyClassDefNode own it and other nodes only refer to it, rather than risking stale references in subnodes. (Alternatively, ownership could be distributed across the subnodes, but it's a bit unclear how, and how to refer to the other subnodes then.) Closes #3338.
-
- 29 Jan, 2020 2 commits
-
-
Stefan Behnel authored
Closes #3337.
-
Stefan Behnel authored
Add warning that no Cython-specific tests should be added to the PEP-492 coroutine test file copied from CPython.
-
- 24 Jan, 2020 1 commit
-
-
Stefan Behnel authored
-
- 13 Jan, 2020 1 commit
-
-
ThePrez authored
Closes GH-3238
-
- 08 Jan, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
-
- 07 Jan, 2020 1 commit
-
-
Stefan Behnel authored
-
- 02 Jan, 2020 1 commit
-
-
Stefan Behnel authored
Remove legacy imports from IPython integration since the "py3compat" module changed in IPython 7.11. (GH-3297)
-
- 28 Dec, 2019 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Import "Iterable" ABC class from "collections.abc" in Py3 instead of deprecated "collections" package.
-
Stefan Behnel authored
Closes GH-3246.
-
- 01 Nov, 2019 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Orivej Desh authored
This should complete #3171 in silencing -Wmissing-field-initializers.
-
Matthew Edwards authored
* IPython magic: hide internal traceback when compilation fails * IPython magic: hide internal traceback when build fails
-
Alphadelta14 authored
-
- 16 Oct, 2019 1 commit
-
-
alex-xnor authored
-
- 14 Oct, 2019 1 commit
-
-
Thomas A Caswell authored
This is more follow up to https://bugs.python.org/issue37250 The action taken is: - restore tp_print to not break all of the sdists on pypi for py38 - remove tp_print for real in py39 In https://github.com/cython/cython/pull/3171 tp_print was initialized for PY_VERSION_HEX >= 0x030800b4 however, when trying to use cython with cpython master (aka py39) there are compile time exceptions due to too many initializers: error: too many initializers for ‘PyTypeObject’ {aka ‘_typeobject’} This fixes that by putting an upper bound on the ifdef of including pt_print at the end of the object.
-
- 08 Oct, 2019 4 commits
-
-
Alex Henrie authored
-
Stefan Behnel authored
Make sure to include "Python.h" also from the "public" header file, which depends on its declarations. Closes #3133.
-
Stefan Behnel authored
-
Pablo Galindo authored
Explicitly initialize tp_print in Python 3.8 When compiling cython-generated extension modules in Python3.8rc1 this error is emitted by the compiler: _ext.cpp:8104:1: error: missing initializer for member ‘_typeobject::tp_print’ [-Werror=missing-field-initializers] The reason is that Python3.8 moved the tp_print slot (d917cfe4051) to the end of the _typeobject struct and reused the original position for tp_vectorcall_offset. The current generated code does not initialize the deprecated tp_print slot that was moved to the end of the struct.
-
- 10 Sep, 2019 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Gerion Entrup authored
When compiling to C++ code and using automatic conversion from Python str to C++ string, Cython inserts this function template but generates the warning: warning: string.from_py:15:63: local variable 'length' might be referenced before assignment
-
Stefan Behnel authored
-
telamonian authored
-
telamonian authored
-