- 06 Sep, 2017 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Release buffer on validation errors. My guess is that we previously just leaked the buffer owner in that case.
-
Stefan Behnel authored
-
- 05 Sep, 2017 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #1858.
-
Stefan Behnel authored
-
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 10 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.
-