- 14 May, 2020 1 commit
-
-
Stefan Behnel authored
-
- 13 May, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Make sure the module init function is declared as 'extern "C"' in C++ also when the CYTHON_NO_PYINIT_EXPORT option is used. Closes #3414.
-
- 12 May, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
MegaIng authored
Closes #3038.
-
MegaIng authored
Closes #3038.
-
- 11 May, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid MSVC warning in refnanny about an integer assignment that reduces the value range (although it's probably safe to assume that C code line numbers > 2^30 will remain rare for another while).
-
Stefan Behnel authored
Avoid an additional utility code section for 2-exception matching by relying on existing special-cased macros.
-
da-woods authored
For Py3.5+, where inittab should really be used instead. For GCC, Clang, MSVC and C++14
-
Stefan Behnel authored
-
Stefan Behnel authored
Add a dedicated subtype check function for testing against two possible base classes in Py3 (currently used for generator exception checks).
-
- 10 May, 2020 4 commits
-
-
Stefan Behnel authored
Simplify and clean up the embedded main import code to make it work how it's officially supposed to work: use the inittab.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid generating an "abort()" check for known non-0 steps in prange(). Instead, make it a compile time error if we know it's zero.
-
- 09 May, 2020 12 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix optimisation of aligned '%' formats ('%05s', '%-5s') into the correct f-string alignment format. Closes https://github.com/cython/cython/issues/3476
-
Stefan Behnel authored
-
scoder authored
Floats do not support '{x:d}' formatting and need conversion to 'int' first. Closes https://github.com/cython/cython/issues/3092
-
scoder authored
Floats do not support '{x:d}' formatting and need conversion to 'int' first. Closes https://github.com/cython/cython/issues/3092
-
scoder authored
Reimplement __Pyx_PyDict_GetItemStrWithError() as a hacky version in Py2 to get the semantics right of returning a borrowed reference with non-KeyError exceptions left in place. Closes https://github.com/cython/cython/issues/3578
-
Stefan Behnel authored
-
Stefan Behnel authored
Add comment to explain why "better" GIL handling is not needed in special methods (because it's held anyway).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/3590
-
- 08 May, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Dean Scarff authored
Test modf, since it's in C89 and has a non-trivial signature.
-
Dean Scarff authored
cimport some C99 float and long double functions, and test legacy kwargs for double functions.
-
Dean Scarff authored
Adds many long double variants (e.g. expl) that were previously omitted. No functions have been removed. I've omitted the identifier for trivial parameters in new functions. However, I've retained them for existing functions for compatibility with legacy kwargs. Classes of functions/macros that are still missing: - error-handling ones, like math_errhandling and MATH_ERRNO - Bessel functions like j0, y0 Fixes cython/cython#3570
-
Dean Scarff authored
Sorting alphabetically by function name makes it easier to audit changes. Also changes "type *" -> "type*"
-
- 07 May, 2020 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes #3579.
-