- 30 Apr, 2021 7 commits
-
-
Max Bachmann authored
Also fixes the control flow analysis for loop variable assignments in this case. Closes https://github.com/cython/cython/issues/3787
-
Stefan Behnel authored
-
Stefan Behnel authored
-
davfsa authored
-
Stefan Behnel authored
Make a test cleaner for what it should test. We do not care whether (Py2) 'str' works as long as unicode strings work.
-
Stefan Behnel authored
Resolve a C compiler warning in the fallback code for PyContextVar_Get() due to an invalid conditional expression that was mixing a void command with a pointer value.
-
Stefan Behnel authored
-
- 29 Apr, 2021 8 commits
-
-
Stefan Behnel authored
Add sort of a "Related Work" section to the github readme that references and compares other Python compiler projects.
-
Stefan Behnel authored
-
Stefan Behnel authored
Do not install Pythran in 0.29.x on travis since it is currently incompatible and unknown when it will work again.
-
Stefan Behnel authored
-
Vladimir Matveev authored
Closes https://github.com/cython/cython/issues/4061
-
da-woods authored
A bug in distutils means that it tries to export a slightly incorrectly named PyInitU function. The fix in https://bugs.python.org/issue39432 wasn't quite right (`"_name".encode("punycode") != "name".encode("punycode")`) and thus the "unicode_imports" test is failing on Windows 3.8+ when distutils explicitly tries to export a non-existing symbol. We now create a dummy function with that alternative name so that the export doesn't fail.
-
Stefan Behnel authored
-
Pierre Glaser authored
-
- 28 Apr, 2021 4 commits
-
-
Stefan Behnel authored
Use new PyGC_Enable() and PyGC_Disable() functions in CPython 3.10 where we need to temporarily disable the GC.
-
Stefan Behnel authored
-
Stefan Behnel authored
Implement "gen.gi_frame" and "coro.cr_frame" attributes on generators and coroutines that return an inspectable (although otherwise dead) frame object. Closes https://github.com/cython/cython/issues/2306
-
Stefan Behnel authored
Provide a fallback implementation for PyContextVar_Get() that always returns the default value on Py<3.7. This is currently needed to make the inline functions compile, because it seems that we are not properly excluding unused ones.
-
- 27 Apr, 2021 3 commits
-
-
Stefan Behnel authored
Correct the declaration of PyContextVar_New() and add convenience functions for getting context variable values. See https://github.com/cython/cython/issues/2281 See https://github.com/cython/cython/pulls/4088
-
Stefan Behnel authored
-
zoj613 authored
Closes https://github.com/cython/cython/issues/2281
-
- 26 Apr, 2021 5 commits
-
-
Max Bachmann authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
The utility code was generated at too late a stage, after the utility code from the pxd was merged into the pyx scope. Fixes #1415
-
da-woods authored
The utility code was generated at too late a stage, after the utility code from the pxd was merged into the pyx scope. Fixes #1415
-
- 25 Apr, 2021 4 commits
-
-
realead authored
-
Stefan Behnel authored
-
scoder authored
* Use the same fallback as for missing PEP-393 support. * Prepare for "PyUnicode_READY()" and "PyUnicode_WCHAR_KIND" to be removed in Py3.12. See https://www.python.org/dev/peps/pep-0623/ * Avoid C compiler warnings about deprecated C-API functions in Py3.9+. Closes https://github.com/cython/cython/issues/3925
-
scoder authored
* Use the same fallback as for missing PEP-393 support. * Prepare for "PyUnicode_READY()" and "PyUnicode_WCHAR_KIND" to be removed in Py3.12. See https://www.python.org/dev/peps/pep-0623/ * Avoid C compiler warnings about deprecated C-API functions in Py3.9+. Closes https://github.com/cython/cython/issues/3925
-
- 21 Apr, 2021 1 commit
-
-
Stefan Behnel authored
-
- 20 Apr, 2021 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
This change introduced Python object statics, which has a negative impact on multiple interpreter support etc. This reverts commit b68f2585.
-
- 18 Apr, 2021 3 commits
-
-
Stefan Behnel authored
Hard-disable the MergeVTables() step during the extension type setup when using the Limited API. There might be a way to make it work, but it currently won't. Also see https://github.com/cython/cython/pull/4107
-
Stefan Behnel authored
Allow searching for include/import files without passing a source pos tuple and clean up the call chains a little.
-
da-woods authored
For reasons I don't full understand, including "windows.h" seems to break everything. There's an alternative sleep function in stdlib.h so I've used that instead since it makes the point just as well.
-
- 17 Apr, 2021 1 commit
-
-
da-woods authored
-