- 22 Mar, 2019 3 commits
-
-
Stefan Behnel authored
See #1555.
-
Stefan Behnel authored
-
Stefan Behnel authored
In test runner, change "compiling test" back to "compiling and running test" when executing a runnable test, which was accidentally lost before.
-
- 20 Mar, 2019 1 commit
-
-
Stefan Behnel authored
-
- 18 Mar, 2019 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 17 Mar, 2019 1 commit
-
-
Stefan Behnel authored
Reduce global state in FlowControl.py to see if it reduces the chance of reload problems (it's a compiled module which cannot be reloaded).
-
- 16 Mar, 2019 1 commit
-
-
Stefan Behnel authored
-
- 15 Mar, 2019 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
include: posix.mman += MAP_FAILED
-
Stefan Behnel authored
include: posix.mman += mlock2, MLOCK_ONFAULT, MCL_ONFAULT
-
- 14 Mar, 2019 7 commits
-
-
Stefan Behnel authored
Import "Iterable" ABC class from "collections.abc" in Py3 instead of deprecated "collections" package.
-
Stefan Behnel authored
Fix some "resource usage" warnings for unclosed process pipes when running in a CPython debug build.
-
Stefan Behnel authored
Fix some "resource usage" warnings for unclosed files in tests when running in a CPython debug build.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Kirill Smelkov authored
mmap returns void* and indicates failure via MAP_FAILED that is defined to be ((void *)-1). Every mmap call has to be checked for failure and thus posix.mman with mmap, but without MAP_FAILED is not very useful. We cannot declare MAP_FAILED as enum, because enum assumes int. However Cython documentation says 4. If the header file uses macros to define constants, translate them into a normal external variable declaration. ... (https://cython.readthedocs.io/en/latest/src/userguide/external_C_code.html#referencing-c-header-files) So add proper declaration for MAP_FAILED to make posix.mman.mmap usable.
-
Kirill Smelkov authored
mlock2 is Linux-specific version of mlock that accepts flags. The only flag available so far is MLOCK_ONFAULT which asks to lock pages only at the time when they are faulted in, not in the beginning. MCL_ONFAULT is Linux-specific flag to mlockall which requests similar behaviour. http://man7.org/linux/man-pages/man2/mlock2.2.html
-
- 12 Mar, 2019 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Move the setting of the new cythonize option "--no-docstrings" to a better place where it does not interfere with using `Cythonize` as a module.
-
墨焓 authored
* cythonize -D, --no-docstrings Add `-D, --no-docstrings` option for the cythonize script. * remove the short `-D` option, remaining only `--no-docstrings`
-
- 04 Mar, 2019 10 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
At module cleanup time, clear the module dict before the global references that its content might still be using.
-
Stefan Behnel authored
-
Stefan Behnel authored
Keep owned references to builtins module, "cython_runtime" module and preimport module to prevent crashes when they get removed from sys.modules. Generate cleanup code for them in the end. Closes #2885.
-
Stefan Behnel authored
Support CPython builds with docstrings disabled
-
Stefan Behnel authored
Support CPython builds with docstrings disabled by wrapping docstring literals in the `PyDoc_STR()` macro. Closes GH-884.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes GH-2884.
-
Stefan Behnel authored
Disable "fast_gil" support in Py3<3.6 since Py3<3.5.2 lacks _PyThreadState_UncheckedGet() and crashes when calling PyThreadState_GET() without a thread state.
-
- 03 Mar, 2019 6 commits
-
-
Stefan Behnel authored
-
-
Stefan Behnel authored
Issue a warning when casting a GIL-requiring function into a nogil function (which breaks GIL validation). Closes GH-2879.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix reference in docs
-
Stefan Behnel authored
See #2879.
-
- 02 Mar, 2019 1 commit
-
-
Noam Hershtig authored
-