- 31 Mar, 2021 1 commit
-
-
Stefan Behnel authored
Fix MSVC: Add an explicit warning to modules that use the "array.array" internals and try to compile in PyPy. Closes https://github.com/cython/cython/issues/3448
-
- 30 Mar, 2021 11 commits
-
-
Max Bachmann authored
-
da-woods authored
The __self__ argument should be present only for bound functions. Fixes https://github.com/cython/cython/issues/4036 Currently it isn't easily possible to get this working absolutely correctly for fused functions. I raise an attribute error but hasattr still returns True. Additionally, Python 2 methods always have a __self__ attribute but set it to None. I follow Python 3 behaviour and don't have the attribute.
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/3448
-
Stefan Behnel authored
Remove GNU specific "tm" struct fields "tm_zone" and "tm_gmtoff" from libc/time.pxd because they get in the way of automatic struct conversions. See https://github.com/cython/cython/issues/3733
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
See https://github.com/cython/cython/issues/3919
-
Victor Stinner authored
The loop parameter of asyncio.sleep(), deprecated in Python 3.8, has been removed in Python 3.10. asyncio.sleep() gets implicitly the loop in Python 3.10 and it is safe to do the same on Python 3.6: https://docs.python.org/dev/whatsnew/3.10.html#changes-in-the-python-api
-
da-woods authored
See https://github.com/cython/cython/issues/3919
-
Victor Stinner authored
Backport code from the master branch: * commit 4e785d42 * commit a9fb7768
-
Stefan Behnel authored
-
- 29 Mar, 2021 2 commits
-
-
Stefan Behnel authored
Avoid calling "PyErr_Clear()" in "__Pyx_CyFunction_get_is_coroutine()" if no error was raised (by our code).
-
谭九鼎 authored
-
- 27 Mar, 2021 1 commit
-
-
da-woods authored
* Avoid UtilityCode from cimport_from_pyx files * Unique names for generated cfunc wrappers, avoid pxd pickle code * Set .in_pxd on nodes prior to analyse_declarations Fixes #3716 Fixes #3741 Fixes #3734
-
- 21 Mar, 2021 10 commits
-
-
da-woods authored
Mostly with the hope that the tests pass. Ideally we should support the most recent version.
-
Vadim Pushtaev authored
Closes https://github.com/cython/cython/issues/2233
-
Max Bachmann authored
Even though the Python documentation states, that PyUnicode_KIND will return an int, it actually returns a value of the underlying type of the PyUnicode_Kind enum. This could be e.g. an unsigned int which can cause warnings about signed/unsigned comparisons.
-
Stefan Behnel authored
-
da-woods authored
Backported from 3dc2b9df Partial fix for https://github.com/cython/cython/issues/3919
-
Max Bachmann authored
clang warns about dead code when an if-statement always evaluates to false. This warning can be silenced using an extra '()'.
-
Max Bachmann authored
-
Max Bachmann authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 18 Mar, 2021 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Victor Stinner authored
The `test.support` has been split into sub-modules. Adapt `test_exceptions` (originally coped from CPython) for these changes.
-
- 19 Feb, 2021 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 18 Feb, 2021 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Warren Weckesser authored
Eliminate C compiler warnings by making the constness of the char* pointers in the declarations in pycapsule.pxd match the actual types of the PyCapsule_* functions.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Robert Bradshaw authored
Disable time_pxd test in Python 3.4
-
- 16 Feb, 2021 1 commit
-
-
da-woods authored
It uses features that are unavailable thus always fails Test was introduced in https://github.com/cython/cython/pull/3767
-
- 09 Feb, 2021 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-