- 18 Oct, 2021 2 commits
-
-
da-woods authored
-
Victor Stinner authored
Instead of __Pyx_SetTracing(), Profile.c now uses PyThreadState_EnterTracing() and PyThreadState_LeaveTracing(), which were added to Python 3.11.0a2: https://github.com/python/cpython/pull/28542 When these functions are used, Cython no longer sets directly PyThreadState.cframe.use_tracing.
-
- 07 Sep, 2021 2 commits
-
-
Stefan Behnel authored
-
Max Bachmann authored
"PyUnicode_CompareWithASCIIString()" does not raise exceptions and takes a "const char*" as argument.
-
- 03 Sep, 2021 1 commit
-
-
da-woods authored
This was causing c++ classes in if-statements to crash. Fixes #4348
-
- 01 Sep, 2021 1 commit
-
-
Stefan Behnel authored
Avoid copying unaligned 16-bit values since some platforms require them to be aligned. Use memcpy() instead to let the C compiler decide how to do it. Closes https://github.com/cython/cython/issues/4343
-
- 22 Jul, 2021 1 commit
-
-
Stefan Behnel authored
Make a helper function in a C++ test correctly propagate exceptions so that it won't have to spit out compiler warnings.
-
- 13 Jul, 2021 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Janek Bevendorff authored
Closes https://github.com/cython/cython/issues/4268
-
- 01 Jul, 2021 1 commit
-
-
Stefan Behnel authored
-
- 09 Jun, 2021 2 commits
-
-
da-woods authored
Closes https://github.com/cython/cython/issues/4214 Closes https://github.com/cython/cython/issues/2811 * Set "entry.qualified_name" for builtin types. * Make sure we always have a correct "qualified_name" for all symtab Entry instances.
-
Matti Picus authored
-
- 26 May, 2021 1 commit
-
-
Stefan Behnel authored
-
- 20 May, 2021 1 commit
-
-
Stefan Behnel authored
ALways mark the entry of generator expression functions as used. Because, why not, they probably are. And it avoids false warnings. Fixes https://github.com/cython/cython/issues/1699
-
- 19 May, 2021 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 02 May, 2021 1 commit
-
-
Victor Stinner authored
Don't access directly PyObject.ob_type and PyObject.ob_refcnt members.
-
- 29 Apr, 2021 2 commits
-
-
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.
-
Pierre Glaser authored
-
- 28 Apr, 2021 1 commit
-
-
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
-
- 26 Apr, 2021 2 commits
-
-
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
-
- 25 Apr, 2021 1 commit
-
-
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
-
- 14 Apr, 2021 15 commits
-
-
Stefan Behnel authored
Fix Python install script on appveyor: The URL path uses three digit Python versions, not just major.minor.
-
Stefan Behnel authored
According to the docs, "/Od" is the default in MSVC, so in order to get it, it should be enough to clear CFLAGS. Setting it generates warnings in Py3.9 on appveyor ("source file '"/Od"' ignored"), suggesting that the option is not recognised as such. https://docs.microsoft.com/en-us/cpp/build/reference/od-disable-debug?view=msvc-160
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Remove "PYTHONHOME" setting from embed-test since it seems to break the I/O encoding setup in (at least) Py3.8+ venvs.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Andrew V. Jones authored
Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>
-
Stefan Behnel authored
-
da-woods authored
* Handle constant folding for LanguageLevel 2 on Python 3. Ensure that when StrNode is a BytesLiteral, that we don't coerce it to unicode. * Add test for string multiplication bug. Needed to change the TreePath slightly to allow bytes-to-str comparison. Fixes https://github.com/cython/cython/issues/3951
-
Stefan Behnel authored
-
peng weikang authored
Remove incorrect dict unpacking optimisation that leaked external dict changes into the result (GH-4091) Closes https://github.com/cython/cython/issues/3227
-
vorfol authored
Creating global CDEFS for holding compiler definitions. Then pass it to the distutils. Also add .vscode folder to .gitignore Fixes https://github.com/cython/cython/issues/4096
-