- 11 Apr, 2020 13 commits
-
-
da-woods authored
The current wording implies that users can expect it to work, which isn't really the current state. It seems better not to claim too much until it's a bit more advanced.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Prevent calling PyObject_GC_Track() in __Pyx_CyFunction_New() when instantiating a fused function before the object fields of the fused function subtype are fully initialised. See https://bugs.python.org/issue38392 Closes GH-3215. Supersedes GH-3216.
-
Stefan Behnel authored
Assume that code passed into cython.inline() is always NumPy 1.7+ clean, so that we can get rid of the C compiler warning about deprecated NumPy API usage.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Revert: Downgrade XCode on travis for Py2 to see if that fixes the clang build problems.
-
Stefan Behnel authored
-
Stefan Behnel authored
Try to resolve clang++ compilation issues on travis/macos. Apparently, CXXFLAGS are not being looked at.
-
Stefan Behnel authored
Add __Pyx_IS_TYPE() macro to mimic the new "Py_IS_TYPE()" macro in CPython 3.9 that replaces the "Py_TYPE() == …" type check pattern.
-
Stefan Behnel authored
Disable "unicode_imports" test in Py2 because it's too fiddly to get working on Windows/appveyor, also because Py2 distutils requires module names to be byte strings.
-
Stefan Behnel authored
-
- 10 Apr, 2020 18 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix cython.inline() in Py3.4 by making it use the legacy fallback code for extension module loading.
-
Stefan Behnel authored
-
Stefan Behnel authored
Remove add_dll_directory() calls in cython.inline() again to see if it's really needed after fixing the import procedure.
-
Stefan Behnel authored
-
Stefan Behnel authored
Try to make cython.inline() tests pass in Py3.8 on Windows by adhering to the recommended module loading pattern.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
For srctree tests, include the test directory in the PYTHONPATH of subprocesses, but not in the own sys.path of the test runner.
-
Stefan Behnel authored
Register the absolute module path in cython.inline() under Windows, not the (potentially) relative path.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
* Rewrite the test code generation for the unicode normalisation test, making sure that we always write UTF-8 source files. * Fix failures to print the compilation status for modules with non-ascii names (on Windows). * Help with remote debugging environment encoding problems in test runs, by extending the output of the "buildenv" pseudo-test. * Explicitly set I/O encoding for subprocesses in parallel cythonize() runs to make the test runner workers inherit it (instead of defaulting to ASCII in Py2). * Use a Latin-1 Unicode character in the test for Unicode module names to make it more compatible with Windows file system character sets (such as CP-1252). * Properly decode source and module file name from the FS encoding in Py2. Previously, with ASCII module names, UTF-8 decoding always worked, but wasn't correct. * Hack around a distutils 3.[5678] bug on Windows for unicode module names. https://bugs.python.org/issue39432 * Try to fix cython.inline() on Windows with Py3.8+ where the DLL loading requires an explicit registration of the extension output directory. Closes GH-3450.
-
- 09 Apr, 2020 4 commits
-
-
Volker-Weissmann authored
If your installation is faulty, cygdb will now print the filepath of the code that caused an exception, and the path of the python interpreter will be printed for better debugging.
-
will-ca authored
-
-
will-ca authored
-
- 08 Apr, 2020 2 commits
-
-
Stefan Behnel authored
-
da-woods authored
The directives are currently inherited from user code, which is not correct, but it seemed difficult to reliably change the directives applied to the `__pyx_fused_cpdef` dispatch function, so instead the code was changed to be independent. Fixes https://github.com/cython/cython/issues/3492
-
- 07 Apr, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-