An error occurred fetching the project authors.
- 22 Jun, 2020 1 commit
-
-
Stefan Behnel authored
Avoid a call to PyTuple_GET_ITEM() to get the item array pointer if CYTHON_ASSUME_SAFE_MACROS is disabled. See https://github.com/cython/cython/issues/3701
-
- 19 Jun, 2020 1 commit
-
-
Stefan Behnel authored
-
- 17 Jun, 2020 1 commit
-
-
Michał Górny authored
Rebased 1bb26b96 for cython 0.29.x, and made conditional to Python 3. This does not solve the original staticmethod problem in Python 2 but it does resolve classmethod problems in Python 3.9. Therefore, it unbreaks other packages on Python 3.9, improves overall state for Python 3 and does not introduce regressions in Python 2.
-
- 14 Jun, 2020 2 commits
-
-
Stefan Behnel authored
This reverts commit 66773260.
-
Jeroen Demeyer authored
-
- 04 Jun, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
classmethod() should fall back to calling PyClassMethod_New() instead of deciding for itself that the type is invalid. (GH-3660)
-
- 02 Jun, 2020 1 commit
-
-
da-woods authored
classmethod() should fall back to calling PyClassMethod_New() instead of deciding for itself that the type is invalid. (GH-3660)
-
- 23 May, 2020 2 commits
-
-
Stefan Behnel authored
Use a more efficient way to check for PyCFunction and CyFunction at the same time since checking for PyCFunction became more costly in Py3.9.
-
Stefan Behnel authored
-
- 20 May, 2020 1 commit
-
-
Stefan Behnel authored
The names of Cython's internal types (functions, generator, coroutine, etc.) are now prefixed with the shared module name, instead of making them look like homeless builtins. See https://bugs.python.org/issue20204 See https://github.com/python/cpython/commit/490055a1673b524da2ebe2312f072aba2a826036
-
- 08 May, 2020 1 commit
-
-
Stefan Behnel authored
-
- 21 Apr, 2020 1 commit
-
-
Stefan Behnel authored
Add "tp_pypy_flags" field to PyTypeObject struct when compiling in PyPy 6.0+ in order to avoid C compiler warnings about an uninitialised struct field.
-
- 17 Apr, 2020 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 13 Apr, 2020 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Prevent calling PyObject_GC_Track() in __Pyx_CyFunction_New() when instantiating a fused function before the object fields of the fused function subtype are fully initialised. See https://bugs.python.org/issue38392 Closes GH-3215. Supersedes GH-3216.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 12 Apr, 2020 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Sprinkle lots of branch prediction hints in places where exceptions are being handled or otherwise exceptional cases occur.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 11 Apr, 2020 1 commit
-
-
Stefan Behnel authored
Prevent calling PyObject_GC_Track() in __Pyx_CyFunction_New() when instantiating a fused function before the object fields of the fused function subtype are fully initialised. See https://bugs.python.org/issue38392 Closes GH-3215. Supersedes GH-3216.
-
- 02 Apr, 2020 1 commit
-
-
da-woods authored
Relaxed some of the checks of fused functions to be consistent with general CyFunctions. ``` # cython: binding=True def f(arg): pass class C: # or cdef class... f = f def g(self, ...): pass C.f(something) or C().f() # doesn't enforce any checks on the type of arg - # with a fused function it does. C.g(something) # assumes that self is "C" (at least for a cdef class) # but doesn't check it. A fused function enforces that it is C. C.f() # fails with a fused function claiming too few arguments, even though # default arguments may make it a valid call ``` Obviously removing checks does make things a little less safe, but it is consistent with the more general function behaviour. (I'm doing this as part of a broad plan to abuse fused functions to be a bit cleverer about decorators, but I don't think the motivation hugely matters for this change)
-
- 07 Mar, 2020 4 commits
-
-
da-woods authored
* Fixed issue where fused functions didn't register as cyfunctions Issue https://github.com/cython/cython/issues/3384 This happened where Cython was using a shared API because the CyFunction type imported from the shared api wasn't the same as used to initialize the fused function tp_base.
-
da-woods authored
* Fixed issue where fused functions didn't register as cyfunctions Issue https://github.com/cython/cython/issues/3384 This happened where Cython was using a shared API because the CyFunction type imported from the shared api wasn't the same as used to initialize the fused function tp_base.
-
da-woods authored
Default arguments are now copied when the bound fused function is created.
-
da-woods authored
Default arguments are now copied when the bound fused function is created.
-
- 20 Feb, 2020 2 commits
-
-
Stefan Behnel authored
Use correct "Py_mp_subscript" type slot for getitem() method instead of "Py_mp_ass_subscript" (which is for assignments).
-
Stefan Behnel authored
Fix "unused" C compiler warning for "__pyx_FusedFunction_mapping_methods" when using the limited C-API.
-
- 18 Feb, 2020 1 commit
-
-
Eddie Elizondo authored
* Add more limited api support * Fix Fused Functions * Fixed profile * Use PyModule_GetDict * Simplify __Pyx_Globals * Address issues in CommonStructures * ifdef guard CyFunction and FusedFunction
-
- 01 Nov, 2019 2 commits
-
-
Orivej Desh authored
This should complete #3171 in silencing -Wmissing-field-initializers.
-
Orivej Desh authored
This should complete #3171 in silencing -Wmissing-field-initializers.
-
- 10 Sep, 2019 2 commits
-
-
Stefan Behnel authored
-
Jeroen Demeyer authored
-
- 06 Sep, 2019 1 commit
-
-
Jeroen Demeyer authored
Minor cleanup regarding __Pyx_PyMethod_New
-
- 28 Aug, 2019 1 commit
-
-
Jeroen Demeyer authored
-
- 27 Aug, 2019 1 commit
-
-
Jeroen Demeyer authored
-