- 29 Jun, 2019 1 commit
-
-
Kirill Smelkov authored
I was going to use posix_madvise(POSIX_MADV_DONTNEED) in my tests to make sure a memory page should be evicted from kernel cache, but found out that this operation is hardcoded to be NOOP on Glibc/Linux systems: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/posix_madvise.c;h=c89fa64f0749;hb=HEAD#l25 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8889e7aa461a On the other hand, as also verified by strace, `madvise(MADV_DONTNEED)` is not a NOOP as it actually goes to kernel by making syscall. Since it is not possible to use posix_madvise for what should be POSIX_MADV_DONTNEED behaviour, let's add all raw madvise behaviour flags as documented on http://man7.org/linux/man-pages/man2/madvise.2.html Presumably MADV_NORMAL and other behaviours that should translate 1-1 to POSIX ones were omitted in 59ac9991 (Add pxd for mmap & friends from "sys/mman.h" covering POSIX/Linux/BSD) to make people use the standardised POSIX interface. However given that it turned out to be not possible to use posix_madvise for all standard behaviours, system-specific madvise behaviours have to be used.
-
- 28 Jun, 2019 8 commits
-
-
Jeroen Demeyer authored
* Do not use unsafe _PyMethodDef_RawFastCallKeywords * Simplify and optimize calls, using vectorcall on Python 3.8
-
Stefan Behnel authored
Do not reset "tp_print" for builtin types in Py3 at all anymore. It was never needed there (only in Py2) and not gets in the way in Py3.8/9.
-
Stefan Behnel authored
-
Stefan Behnel authored
* REF: make Utils dependency-free by moving search_include_directories to Main * BUG: prefer sys.path before Cython/Include when searching for pxd files
-
Jeroen Demeyer authored
-
Stefan Behnel authored
-
Nick Coghlan authored
CPython bpo-37221 reverts that backwards incompatible change to the PyCode_New API, replacing it with a new PyCode_NewWithPosOnlyArgs function.
-
Nick Coghlan authored
CPython bpo-37221 reverts that backwards incompatible change to the PyCode_New API, replacing it with a new PyCode_NewWithPosOnlyArgs function.
-
- 25 Jun, 2019 1 commit
-
-
Kirill Smelkov authored
PyGILState_STATE was added in commit 3fd6fdce (Gilnanny + pystate.pxd) with struct type on-purpose different from what CPython actually uses with the idea so that PyGILState_STATE cannot be coerced into int. However as it is, it prevents PyGILState_STATE usage: cdef PyGILState_STATE gstate = PyGILState_Ensure() gives Variable type 'PyGILState_STATE' is incomplete Fix it by making PyGILState_STATE a defined structure.
-
- 24 Jun, 2019 1 commit
-
-
samaingw authored
-
- 23 Jun, 2019 3 commits
-
-
Stefan Behnel authored
Closes GH-3007.
-
Jeroen Demeyer authored
-
Alex Willmer authored
-
- 13 Jun, 2019 4 commits
-
-
Stefan Behnel authored
-
Jeroen Demeyer authored
-
DWesl authored
The regex to match the gdb version is not intended to be interpreted as a regular string, it is designed to be used as-is as a regex. This lets python know that minor detail.
-
DWesl authored
The regex to match the gdb version is not intended to be interpreted as a regular string, it is designed to be used as-is as a regex. This lets python know that minor detail.
-
- 11 Jun, 2019 10 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Josh Tobin authored
-
Josh Tobin authored
-
Stefan Behnel authored
-
realead authored
-
Stefan Behnel authored
-
serge-sans-paille authored
And make it more flexible in terms of API change.
-
serge-sans-paille authored
And make it more flexible in terms of API change.
-
serge-sans-paille authored
Current checks breaks when setting 0.10.0 as a Pythran version :-/
-
- 10 Jun, 2019 1 commit
-
-
Robert Bradshaw authored
Add compatability with Bazel 0.26
-
- 09 Jun, 2019 1 commit
-
-
Pasha Podolsky authored
-
- 07 Jun, 2019 3 commits
-
-
aiudirog authored
-
alimcmaster1 authored
-
realead authored
-
- 02 Jun, 2019 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 01 Jun, 2019 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Make co_argcount for positional-only arguments behave correctly, now that CPython 3.8 (beta 1) includes the pos-only count in it rather than adding it.
-
Pablo Galindo authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-