- 31 Mar, 2019 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid generating empty tp_new() functions
-
- 30 Mar, 2019 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid generating empty tp_new() functions if we can copy the function pointer from the parent at init time. See GH-1555.
-
Robert Bradshaw authored
-
Stefan Behnel authored
Remove Cython/Includes/Deprecated
-
- 28 Mar, 2019 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 26 Mar, 2019 1 commit
-
-
Stefan Behnel authored
Avoid generating a tp_new() function for extension types that do not need their own one.
-
- 24 Mar, 2019 1 commit
-
-
Jeroen Demeyer authored
-
- 22 Mar, 2019 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
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 5 commits
-
-
Molly Lloyd authored
so it matches implementation :)
-
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 4 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.
-