summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Try to avoid C compiler warnings about unused utility functions, but only if ↵clean_up_capi_featuresStefan Behnel2021-04-271-0/+2
| | | | it's really included.
* Try to avoid C compiler warnings about unused utility functions.Stefan Behnel2021-04-261-12/+15
|
* Fix accidental condition inversion from the last master merge.Stefan Behnel2021-04-261-1/+1
|
* Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-257-16/+170
|\
| * Capture and redirect stdout/stderr for %%cython-magic to show C compiler ↵realead2021-04-252-4/+123
| | | | | | | | warnings/errors (GH-3872)
| * Merge branch '0.29.x'Stefan Behnel2021-04-250-0/+0
| |\
| | * Make "__Pyx_UnicodeContainsUCS4()" work for WCHAR unicode strings with ↵scoder2021-04-252-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Py3.9+. (GH-4135) * 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
| * | Make "__Pyx_UnicodeContainsUCS4()" work for WCHAR unicode strings with ↵scoder2021-04-254-12/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Py3.9+. (GH-4135) * 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
| * | Try to make a test less flaky.Stefan Behnel2021-04-211-0/+5
| | |
* | | Avoid C compiler warnings about unused functions.Stefan Behnel2021-04-211-1/+2
| | |
* | | Fix misplaced test output after extracting a part of it in ↵Stefan Behnel2021-04-201-2/+2
| | | | | | | | | | | | b643850a12f2065ce71ddcea5b105c28444fbce9.
* | | Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-201-20/+18
|\ \ \ | |/ /
| * | Avoid C compiler warning in Py<3.7 when the "__Pyx_PyObject_CallMethod0" ↵Stefan Behnel2021-04-201-0/+3
| | | | | | | | | | | | helper function is unused.
| * | Fix version guard: PyImport_GetModule() was added in Py3.7.Stefan Behnel2021-04-201-1/+1
| | |
| * | Reduce overhead in gc.enable/disable during PyType_Ready() calls.Stefan Behnel2021-04-201-4/+10
| | |
| * | Revert "Efficiency improvements for enabling/disabling gc in ↵Stefan Behnel2021-04-201-20/+9
| | | | | | | | | | | | | | | | | | | | | | | | __Pyx_PyType_Ready()." This change introduced Python object statics, which has a negative impact on multiple interpreter support etc. This reverts commit b68f2585ceec37e0be245122a0fb6328f5145e8d.
* | | Remove accidental merge left-over.Stefan Behnel2021-04-201-1/+0
| | |
* | | Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-196-32/+40
|\ \ \ | |/ /
| * | Hard-disable the MergeVTables() step during the extension type setup when ↵Stefan Behnel2021-04-182-1/+7
| | | | | | | | | | | | | | | | | | 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
| * | Allow searching for include/import files without passing a source pos tuple ↵Stefan Behnel2021-04-182-23/+26
| | | | | | | | | | | | and clean up the call chains a little.
| * | Fix "platform_adaptation" documentation test on windows (GH-4126)da-woods2021-04-181-3/+2
| | | | | | | | | 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.
| * | Fix invalid code in CReferenceBaseType.__repr__ (GH-4124)da-woods2021-04-171-1/+1
| | |
* | | Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-172-3/+12
|\ \ \ | |/ /
| * | Disable __Pyx_PyType_Ready() usage in PyPy & friends where it fails to ↵Stefan Behnel2021-04-161-1/+8
| | | | | | | | | | | | | | | | | | compile currently. They should generally be happy with their own implementation. See https://github.com/cython/cython/pull/4107
| * | Remove duplicated ticket prefix.Stefan Behnel2021-04-161-2/+2
| | |
* | | Disable a test in Py<3.8 when using type specs, since it requires a CPython ↵Stefan Behnel2021-04-161-24/+33
| | | | | | | | | | | | bug fix.
* | | Do not test type specs in Py3.4 since the "Py_tp_finalize" (needed by ↵Stefan Behnel2021-04-161-2/+0
| | | | | | | | | | | | coroutines) was only added in 3.5, and 3.4 is out of maintenance anyway.
* | | Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-164-17/+72
|\ \ \ | |/ /
| * | Add a missing "#undef" for the limited API target.Stefan Behnel2021-04-151-1/+2
| | |
| * | Merge pull request #4107 from robertwb/cdef-mixinRobert Bradshaw2021-04-153-25/+74
| |\ \ | | | | | | | | Allow inheriting from cimported multiply inherited class.
| | * | Efficiency improvements for enabling/disabling gc in __Pyx_PyType_Ready().Robert Bradshaw2021-04-101-9/+20
| | | | | | | | | | | | | | | | These are more important in light of it being used ubiquitously.
| | * | Unconditionally use modified PyType_Ready.Robert Bradshaw2021-04-102-16/+54
| | | | | | | | | | | | | | | | This fixes github issue #4106.
| * | | Set black text for .cython code lines in HTML report. (GH-4117)Lobstros2021-04-141-1/+1
| | | |
* | | | Merge branch 'master' into clean_up_capi_featuresStefan Behnel2021-04-15291-799/+2794
|\ \ \ \
| * | | | Add a missing "#undef" for the limited API target.Stefan Behnel2021-04-151-1/+2
| |/ / /
| * | | Merge branch '0.29.x'Stefan Behnel2021-04-141-4/+7
| |\ \ \ | | | |/ | | |/|
| | * | Fix Python install script on appveyor: The URL path uses three digit Python ↵Stefan Behnel2021-04-141-4/+7
| | | | | | | | | | | | | | | | versions, not just major.minor.
| * | | Merge branch '0.29.x'Stefan Behnel2021-04-140-0/+0
| |\ \ \ | | |/ /
| | * | According to the docs, "/Od" is the default in MSVC, so in order to get it, ↵Stefan Behnel2021-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Merge branch '0.29.x'Stefan Behnel2021-04-140-0/+0
| |\ \ \ | | |/ /
| | * | Fix embed test in Py2.6.0.29.23Stefan Behnel2021-04-141-1/+1
| | | |
| | * | Try to resolve apt install issues on travis.Stefan Behnel2021-04-141-3/+0
| | | |
| * | | Merge branch '0.29.x'Stefan Behnel2021-04-140-0/+0
| |\ \ \ | | |/ /
| | * | Remove "PYTHONHOME" setting from embed-test since it seems to break the I/O ↵Stefan Behnel2021-04-141-1/+1
| | | | | | | | | | | | | | | | encoding setup in (at least) Py3.8+ venvs.
| | * | Make embed test more debuggable by printing the path setup and the build ↵Stefan Behnel2021-04-142-5/+30
| | | | | | | | | | | | | | | | output on failure.
| * | | Merge branch 'master' of git+ssh://github.com/cython/cythonStefan Behnel2021-04-145-96/+12
| |\ \ \
| | * | | Disable GC-sensitive test on PyPy and remove the outdated @testcase ↵da-woods2021-04-145-96/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decorator (GH-4095) * Disable GC-sensitive NumPy tests on PyPy * Removed @testcase decorator pattern that was causing tests to be run twice
| * | | | Merge branch '0.29.x'Stefan Behnel2021-04-142-11/+21
| |\ \ \ \ | | |/ / / | |/| / / | | |/ /
| | * | Update changelog.Stefan Behnel2021-04-141-2/+12
| | | |
| | * | Summarize test failures when running in shards.Stefan Behnel2021-04-141-9/+30
| | | |