- 03 Sep, 2017 4 commits
-
-
Stefan Behnel authored
Generate "tp_richcompare" slot when "__eq__" and/or its friends are defined but "__richcmp__" is not. Closes #690.
-
Stefan Behnel authored
-
Stefan Behnel authored
Implement @cython.exceptval() decorator to make the "except x" signature declaration available in pure Python mode. Closes #1653.
-
Stefan Behnel authored
Need to delay annotation typing after the "as_cfunction()" conversion in AdjustDefByDirectives transform as we do not have an 'env' yet.
-
- 02 Sep, 2017 12 commits
-
-
Stefan Behnel authored
Work around compiler crash due to missing 'env' (before declaration analysis) when combining @ccall with argument annotations.
-
Stefan Behnel authored
-
Stefan Behnel authored
Allow arbitrary type references in annotations, rather than just valid executable Python expressions.
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable an "embedsignatures" test that is not actually valid with PEP 484 but fails to compile as the return type now interpreted as a C-tuple of Python objects (which is not supported).
-
Stefan Behnel authored
Change annotation typing directive to cover all type annotations and modify annotation parsing to be more PEP 484 compatible. Only "cython.*" types are interpreted as C types from now on, everything else is considered Python types for maximum compatibility with Python type hints.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Also parses variable annotations as type declarations. Closes #1850.
-
Stefan Behnel authored
Closes #1831.
-
Stefan Behnel authored
-
- 01 Sep, 2017 13 commits
-
-
Stefan Behnel authored
Use potentially faster PyObject_Malloc() instead of C malloc() for strides and format fields in ndarray buffer support.
-
Stefan Behnel authored
-
-
Stefan Behnel authored
Make tracing tests work exactly as in CPython and compare the tracing results for both Python and Cython functions. Fix "frame.f_trace" test in tracing code accordingly. See #1769 and #1774 for background.
-
Stefan Behnel authored
Better fix for #1836: set frame flags to make CPython create a new dict for "frame.f_locals" at need.
-
scoder authored
Pass am empty dict instead of a f_globals reference to profilers.
-
Stefan Behnel authored
See #1774.
-
scoder authored
Fix "NoneType object is not callable" exception when using a tracing …
-
Robert Bradshaw authored
-
Stefan Behnel authored
-
Stefan Behnel authored
travis: disable dependency installation in "-dev" Python builds (currently fails for Py3.7, and might fail again in the future).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 31 Aug, 2017 6 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
Partial workaround for Github Issue #1852.
-
Stefan Behnel authored
-
Stefan Behnel authored
Evaluate and join more f-string constants at compile time, including unprefixed strings. Fix a case where f-string constants could have incorrect constant compile time result values, thus leading to incorrect comparisons and constant folding errors.
-
Robert Bradshaw authored
-
Stefan Behnel authored
Implement two more special cases in fstring joining to reduce the need for runtime character size detection.
-
- 29 Aug, 2017 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Add wheelhouse directories to gitignore.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-