- 24 Aug, 2017 6 commits
-
-
Stefan Behnel authored
Check frame back-pointer before we clear it. CPython can simply assert the identity in genobject.c because it always owns a frame itself for the current coroutine. Since Cython does not have frames here and uses the last frame of whatever traceback it currently owns, it's not clear if we can really give any guarantees better than best-effort here.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Move exception state cleanup into generator body code to allow a distinction between normal yields and yields in except blocks. They require different handling according to what CPython does.
-
Stefan Behnel authored
Add a script that concatenates the code sections in CPython's ceval.c in the execution sequence given by the byte code of a Python function.
-
- 20 Aug, 2017 2 commits
-
-
Stefan Behnel authored
Keep direct closure of generators and coroutines intact during cleanup by disabling their tp_clear() as they still need their closure for handling the final GeneratorExit call.
-
Stefan Behnel authored
See #1731.
-
- 19 Aug, 2017 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Include deprecation warning from CPython (3.3+) in __Pyx_PyNumber_IntOrLong() and avoid inlining error handling code.
-
Stefan Behnel authored
Streamline __Pyx_PyNumber_IntOrLong() with direct slot calls instead of C-API function calls that only do what we already do on our side already.
-
Stefan Behnel authored
-
Stefan Behnel authored
Specialise coercion from bytes to char* (and friends) to avoid going through several type checks in the generic "__Pyx_PyObject_AsStringAndSize()" function.
-
Stefan Behnel authored
Split uncommon case from unicode/bytes.endswith() implementation to suggest inlining the normal case.
-
- 18 Aug, 2017 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix reference leak in the Py2.x __Pyx_ReleaseBuffer() implementation for types with an overridden __releasebuffer__ method. Closes #1638.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 17 Aug, 2017 12 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix more tests: Correct the source character position of name nodes to improve error reporting (previously reported the character position *behind* the name).
-
Stefan Behnel authored
Correct the source character position of name nodes to improve error reporting (previously reported the character position *behind* the name).
-
Stefan Behnel authored
Closes #1824.
-
Stefan Behnel authored
Repair "range(enum)" iteration in C++ which (rightfully) disallows arbitrary assignments between enum+int.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Revert "Re-enable failure checks for Py3.2 in travis as that version is correctly supported (again)." This reverts commit 835cf4c1. The travis test runs seem to be unreliable for some reason.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 15 Aug, 2017 1 commit
-
-
Robert Bradshaw authored
-
- 13 Aug, 2017 2 commits
-
-
Robert Bradshaw authored
This fixes #1788.
-
Robert Bradshaw authored
This fixes #1790.
-
- 12 Aug, 2017 1 commit
-
-
Stefan Behnel authored
-