- 05 Sep, 2017 1 commit
-
-
Stefan Behnel authored
-
- 04 Sep, 2017 13 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Check result of "declare_builtin()" because it might a) not have been found and b) not actually be a builtin. In both cases, it's actually not a literal.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Add missing special signature for "__getattribute__" method in order to enforce it and mark the method as special.
-
Stefan Behnel authored
Replace closure class special casing from slot generation code and replace it with saner and more general "is_special" check.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 03 Sep, 2017 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Repair slot signature typing for "__richcmp__" special method after adding synthesis from "__eq__" etc. methods. Add test for "__richcmp__" override of existing "__eq__" etc. methods.
-
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 8 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 …
-