- 31 Aug, 2021 3 commits
-
-
da-woods authored
Compiling ExprNodes.py was creating hundreds of tuples containing ("self", "env") for example, because it wasn't able to match and deduplicate them.
-
Max Bachmann authored
"PyUnicode_CompareWithASCIIString()" does not raise exceptions and takes a "const char*" as argument.
-
0dminnimda authored
* Avoid usage of `const` or `volatile` in buffer struct field declarations. * Avoid newline replacement in the test helper functions `write_file()` and `write_newer_file()`. See https://github.com/cython/cython/pull/4324
-
- 09 Aug, 2021 1 commit
-
-
da-woods authored
-
- 08 Aug, 2021 1 commit
-
-
0dminnimda authored
-
- 07 Aug, 2021 5 commits
-
-
da-woods authored
These were lost when cdef properties (for extern types) were introduced. Closes #4322 (based on my interpretation of the problem as an error-reporting issue)
-
da-woods authored
Adds utility code sections to toggle C compiler warnings for the duration of the utility code.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix output encoding problems in the test runner with Py2.7 by not trying to decode the C compiler output and instead printing it unchanged as bytes.
-
Stefan Behnel authored
Revert "Fix output encoding problems in the test runner with Py2.7 by replacing implicit calls to str() with (unicode) string concatenation." This reverts commit 931710d8.
-
- 06 Aug, 2021 2 commits
-
-
Stefan Behnel authored
Fix output encoding problems in the test runner with Py2.7 by replacing implicit calls to str() with (unicode) string concatenation.
-
Stefan Behnel authored
-
- 31 Jul, 2021 2 commits
-
-
Stefan Behnel authored
runtests: include the C compiler error output in the compile exception to show it at the end of the test run.
-
da-woods authored
Turns out that typeid() and C++ operators already work with "cpp_locals".
-
- 27 Jul, 2021 1 commit
-
-
Stefan Behnel authored
Add a warning in the docs that "conditional compilation" is not a good way to do most things that users commonly do with it. See the discussion in https://github.com/cython/cython/issues/4287
-
- 26 Jul, 2021 6 commits
-
-
Stefan Behnel authored
Fix compilation of "ParseTreeTransforms" in Py2. It previously tried to compare the 'directivetype' to 'str', which misses Py2 str when compiling with language level 3.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Add CI jobs that compile more Cython modules with "--cython-compile-all", to make sure that this keeps working and to allow comparing the performance difference.
-
da-woods authored
Fixes https://github.com/cython/cython/issues/3174 Closes https://github.com/cython/cython/pull/3175 I've removed all identification of is_self_arg from the parser, since I think it's better dealt with when analysing the declarations. Original test copied from https://github.com/cython/cython/pull/3175
-
- 25 Jul, 2021 1 commit
-
-
Stefan Behnel authored
-
- 23 Jul, 2021 1 commit
-
-
da-woods authored
Fixes https://github.com/cython/cython/issues/4308
-
- 22 Jul, 2021 5 commits
-
-
Matus Valo authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Make a helper function in a C++ test correctly propagate exceptions so that it won't have to spit out compiler warnings.
-
- 21 Jul, 2021 1 commit
-
-
Matus Valo authored
-
- 20 Jul, 2021 11 commits
-
-
Stefan Behnel authored
-
Shreyan Avigyan authored
-
Matus Valo authored
See https://github.com/cython/cython/issues/4187
-
0dminnimda authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Rewrite the section on fused types in function signatures to make it clearer how multiple fused types interact here.
-
Stefan Behnel authored
Refactor function to make it less verbose and simpler to change: error cases first, then special cases, then normal behaviour.
-
Stefan Behnel authored
Make code more readable by changing the order of a condition and moving the simple return case first.
-
Stefan Behnel authored
-
da-woods authored
For example, if they're called on entry/exit to a decorated function they pick up the directives. They should really be independent of most user defined settings, especially local ones.
-