- 05 Jul, 2019 4 commits
-
-
Stefan Behnel authored
-
Orivej Desh authored
Currently Cython generates code like this: int __Pyx_InitCachedBuiltins(void) { __pyx_builtin_NAME = __Pyx_GetBuiltinName(...); if (!__pyx_builtin_NAME) __PYX_ERR(1, 44, __pyx_L1_error) } int __pyx_pymod_exec_MODULE(PyObject *__pyx_pyinit_module) { if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(1, 1, __pyx_L1_error) } When InitCachedBuiltins and InitCachedConstants call __PYX_ERR, they pass the file and line where a builtin is used, but then pymod_exec overwrites it with 1 and 1, and the error message looks like this: File "FILE", line 1, in init MODULE. import os NameError: name 'NAME' is not defined After this change Cython generates: int __pyx_pymod_exec_MODULE(PyObject *__pyx_pyinit_module) { if (__Pyx_InitCachedBuiltins() < 0) goto __pyx_L1_error; } and prints: File "FILE", line 44, in init MODULE. print(NAME) NameError: name 'NAME' is not defined
-
Stefan Behnel authored
Fix a C compiler warning about an implicitly reduced integer range (Py_ssize_t -> int) when calling a helper function. Closes GH-3028.
-
Stefan Behnel authored
Closes GH-3031
-
- 30 Jun, 2019 1 commit
-
-
Stefan Behnel authored
-
- 29 Jun, 2019 4 commits
-
-
Stefan Behnel authored
-
Jeroen Demeyer authored
-
Stefan Behnel authored
-
Sebastian Berg authored
-
- 28 Jun, 2019 3 commits
-
-
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
-
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.
-
- 13 Jun, 2019 1 commit
-
-
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 4 commits
-
-
Stefan Behnel authored
-
Josh Tobin authored
-
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 :-/
-
- 02 Jun, 2019 1 commit
-
-
Stefan Behnel authored
-
- 31 May, 2019 2 commits
-
-
Stefan Behnel authored
Closes GH-2976.
-
Marcel Plch authored
-
- 28 May, 2019 4 commits
-
-
Stefan Behnel authored
-
Robert Bradshaw authored
This was broken by the attempt to exclude C++ operations from true division.
-
Stefan Behnel authored
Move the variable declarations in a C helper function to where they are actually used to avoid "unused" warnings in Py3.
-
Stefan Behnel authored
-
- 27 May, 2019 3 commits
-
-
Robert Bradshaw authored
This fixes Github issue #1950.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix compile error with 3.8
-
- 26 May, 2019 1 commit
-
-
Marcel Plch authored
-
- 09 May, 2019 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 30 Apr, 2019 3 commits
-
-
Stefan Behnel authored
Closes GH-2936.
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes GH-2939.
-
- 28 Apr, 2019 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
GH-2919: Prevent tuple constants that compare equal but have different item types from being merged into one.
-
- 24 Apr, 2019 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 23 Apr, 2019 1 commit
-
-
Stefan Behnel authored
-
- 14 Apr, 2019 1 commit
-
-
Stefan Behnel authored
-