- 23 Dec, 2019 2 commits
-
-
Stefan Behnel authored
Simplify the utility code loading by requiring the source file to be named explicitly. It was almost always passed anyway, so having a non-trivial search algorithm in place for a rare case of unnecessary laziness is just code bloat. (GH-3280)
-
Matti Picus authored
-
- 21 Dec, 2019 1 commit
-
-
Brian Wignall authored
-
- 06 Dec, 2019 1 commit
-
-
Robert Bradshaw authored
Fix typos
-
- 05 Dec, 2019 1 commit
-
-
Brian Wignall authored
-
- 29 Nov, 2019 1 commit
-
-
Matti Picus authored
-
- 12 Nov, 2019 1 commit
-
-
da-woods authored
-
- 08 Nov, 2019 1 commit
-
-
Stefan Behnel authored
-
- 06 Nov, 2019 1 commit
-
-
Stefan Behnel authored
-
- 01 Nov, 2019 10 commits
-
-
Stefan Behnel authored
This reverts commit bfcaf163.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Orivej Desh authored
This should complete #3171 in silencing -Wmissing-field-initializers.
-
Matthew Edwards authored
* IPython magic: hide internal traceback when compilation fails * IPython magic: hide internal traceback when build fails
-
Alphadelta14 authored
-
Orivej Desh authored
This should complete #3171 in silencing -Wmissing-field-initializers.
-
- 21 Oct, 2019 2 commits
-
-
Matthew Edwards authored
* IPython magic: hide internal traceback when compilation fails * IPython magic: hide internal traceback when build fails
-
Matthew Edwards authored
Also fix tests in libcpp_algo (how did this ever work?)
-
- 18 Oct, 2019 4 commits
-
-
samaingw authored
-
Stefan Behnel authored
-
Alphadelta14 authored
-
Stefan Behnel authored
Closes GH-1462.
-
- 16 Oct, 2019 4 commits
-
-
Stefan Behnel authored
-
alex-xnor authored
-
Matthew Edwards authored
* Rearrange libcpp.algorithm to match cppreference and reformat * Add all_of, any_of and none_of to libcpp.algorithm * Add count and count_if to libcpp.algorithm * Add string(first, last) constructor to libcpp.string * Add the simplest overload of mismatch to libcpp.algorithm * Add find, find_if, and find_if_not to libcpp.algorithm * Add find_end to libcpp.algorithm and distance to libcpp.iterator * Add find_first_of to libcpp.algorithm * Add adjacent_find to libcpp.algorithm * Add search to libcpp.algorithm * Add search_n to libcpp.algorithm * Add exception specifiers in libcpp.algorithm * Add predicated overload of find_end, search and search_n to libcpp.algorithm
-
alex-xnor authored
-
- 14 Oct, 2019 4 commits
-
-
Stefan Behnel authored
-
Thomas A Caswell authored
This is more follow up to https://bugs.python.org/issue37250 The action taken is: - restore tp_print to not break all of the sdists on pypi for py38 - remove tp_print for real in py39 In https://github.com/cython/cython/pull/3171 tp_print was initialized for PY_VERSION_HEX >= 0x030800b4 however, when trying to use cython with cpython master (aka py39) there are compile time exceptions due to too many initializers: error: too many initializers for ‘PyTypeObject’ {aka ‘_typeobject’} This fixes that by putting an upper bound on the ifdef of including pt_print at the end of the object.
-
Stefan Behnel authored
-
Thomas A Caswell authored
This is more follow up to https://bugs.python.org/issue37250 The action taken is: - restore tp_print to not break all of the sdists on pypi for py38 - remove tp_print for real in py39 In https://github.com/cython/cython/pull/3171 tp_print was initialized for PY_VERSION_HEX >= 0x030800b4 however, when trying to use cython with cpython master (aka py39) there are compile time exceptions due to too many initializers: error: too many initializers for ‘PyTypeObject’ {aka ‘_typeobject’} This fixes that by putting an upper bound on the ifdef of including pt_print at the end of the object.
-
- 08 Oct, 2019 6 commits
-
-
Stefan Behnel authored
-
Alex Henrie authored
-
Stefan Behnel authored
Make sure to include "Python.h" also from the "public" header file, which depends on its declarations. Closes #3133.
-
Stefan Behnel authored
-
Pablo Galindo authored
Explicitly initialize tp_print in Python 3.8 When compiling cython-generated extension modules in Python3.8rc1 this error is emitted by the compiler: _ext.cpp:8104:1: error: missing initializer for member ‘_typeobject::tp_print’ [-Werror=missing-field-initializers] The reason is that Python3.8 moved the tp_print slot (d917cfe4051) to the end of the _typeobject struct and reused the original position for tp_vectorcall_offset. The current generated code does not initialize the deprecated tp_print slot that was moved to the end of the struct.
-
Pablo Galindo authored
Explicitly initialize tp_print in Python 3.8 When compiling cython-generated extension modules in Python3.8rc1 this error is emitted by the compiler: _ext.cpp:8104:1: error: missing initializer for member ‘_typeobject::tp_print’ [-Werror=missing-field-initializers] The reason is that Python3.8 moved the tp_print slot (d917cfe4051) to the end of the _typeobject struct and reused the original position for tp_vectorcall_offset. The current generated code does not initialize the deprecated tp_print slot that was moved to the end of the struct.
-
- 30 Sep, 2019 1 commit
-
-
da-woods authored
* Handle normalization of unicode identifiers * Support unicode characters in module names (Only valid under Python 3)
-