- 08 Nov, 2021 1 commit
-
-
Max Bachmann authored
-
- 07 Nov, 2021 6 commits
-
-
Segev Finer authored
Make coverage.py handle "stringsource" better by making it clear that it is not a file name (GH-4440) Having a code object with `co_filename` set to just "stringsource" (e.g. when using memory views or auto-pickling), causes coverage.py to think that "stringsource" is a relative path to an actual file. The convention is to wrap such fake paths with angle brackets, which coverage.py correctly recognizes. You will recognize this as the following error, e.g. when running "coverage html": No source for code: '.../stringsource'. Aborting report output, consider using -i.
-
Naelson Douglas C. Oliveira authored
Replace a mutable default argument with a None default and check since it is not intended to be mutated (GH-4435)
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid "possible loss of data" warning in MSVC by adding redundant casts to code that gets discarded later.
-
Robert Bradshaw authored
Still requires the more conservative __index__ here rather than a possibly truncating __int__ because this is used in a context where floating point values should probably be treated specially. This fixes Github issue #2752.
-
Stefan Behnel authored
-
- 06 Nov, 2021 1 commit
-
-
Max Bachmann authored
PyContextVar_Get() was added in PyPy 7.3.6. https://foss.heptapod.net/pypy/pypy/-/blob/branch/default/pypy/doc/release-v7.3.6.rst
-
- 05 Nov, 2021 1 commit
-
-
Mike Taves authored
-
- 02 Nov, 2021 6 commits
-
-
Jonathan Helgert authored
Some overloaded methods are commented out as they currently result in incorrect C++ code. See https://github.com/cython/cython/pull/4423#issuecomment-953685310
-
Stefan Behnel authored
-
Stefan Behnel authored
Repair coverage tests to make them work with coverage 6.1, which changed the HTML output format that the tests parse.
-
Lisandro Dalcin authored
-
Lisandro Dalcin authored
-
da-woods authored
Arguably, it's unnecessary if the auto-call works correctly, but if we're still advising users to do it themselves then it probably should be in the docs.
-
- 31 Oct, 2021 4 commits
-
-
Stefan Behnel authored
Repair coverage tests to make them work with coverage 6.1, which changed the HTML output format that the tests parse.
-
Stefan Behnel authored
-
Thomas A Caswell authored
See https://github.com/python/cpython/pull/28968/8e5de40f90476249e9a2e5ef135143b5c6a0b512 which is part of implementing https://bugs.python.org/issue35134 moved the header "longintrepr.h" into a sub-folder. The notes on this change suggested to include "Python.h" instead.
-
Thomas A Caswell authored
See https://github.com/python/cpython/pull/28968/8e5de40f90476249e9a2e5ef135143b5c6a0b512 which is part of implementing https://bugs.python.org/issue35134 moved the header "longintrepr.h" into a sub-folder. The notes on this change suggested to include "Python.h" instead.
-
- 29 Oct, 2021 1 commit
-
-
Matus Valo authored
-
- 28 Oct, 2021 2 commits
-
-
0dminnimda authored
* Utils.py: add _find_cache_attributes, clear_method_caches * TestCythonUtils.py: add tests for Cached Methods * Utils.py: add constants * Utils.py: update comment * TestCythonUtils.py: remove excess blank line * Change names to `_CACHE_NAME` and `_CACHE_NAME_PATTERN` * ci.yml: extend timeout to 40 minutes * _CACHE_NAME -> _build_cache_name
-
Max Bachmann authored
See https://github.com/cython/cython/pull/3782
-
- 25 Oct, 2021 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Use newer test dependencies in Py3.6+. (Excluding 3.10 for now to give the projects a bit more time.)
-
- 24 Oct, 2021 3 commits
-
-
da-woods authored
* Add a basic replacement for PyCode_New(). An optimized versions would be nice, but this is intended to work sufficiently to start testing. Also, CPython 3.11 might actually add a new C-API function to simplify setting the current code position. That might be used instead. * Disable introspection of frame object with vectorcall This feature looked to only be used for early Python versions that don't have the full vectorcall protocol (and the contents of the frame object are changed in Python 3.11).
-
Stefan Behnel authored
Make sure that version dependent special methods are correctly and completely excluded via preprocessor guards. Previously, implementing "__div__" could fail in Py3 (if the code for adapting the Python wrapper was generated) or would at least generate C compiler warnings about unused "__div__" C functions.
-
Stefan Behnel authored
-
- 23 Oct, 2021 1 commit
-
-
Max Bachmann authored
-
- 22 Oct, 2021 3 commits
-
-
Dobatymo authored
Fix insert return types, constness and input iterator templates. Fix typing in iterators and add constructor to allow explicit conversion from iterator to const_iterator.
-
Dobatymo authored
-
0dminnimda authored
-
- 21 Oct, 2021 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
docs: Use the Cython + IPython lexers that come with Pygments to avoid having to maintain our own ones.
-
- 20 Oct, 2021 1 commit
-
-
account-login authored
* add swap() to libcpp.string * add load_factor() to libcpp.unordered_map and libcpp.unordered_set
-
- 18 Oct, 2021 5 commits
-
-
Stefan Behnel authored
-
da-woods authored
-
da-woods authored
-
da-woods authored
PyPy v7.3.6 looks to have added a helpful "did you mean..." to the AttributeError exception. It's currently tripping up these tests.
-
Stefan Behnel authored
-