Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a810cc3

Browse files
committed
Merge heads.
2 parents ad74402 + e7db66f commit a810cc3

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Misc/NEWS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ Release date: tba
1010
Core and Builtins
1111
-----------------
1212

13-
- Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
14-
_PyObject_GetState() due to regressions observed in Cython-based projects.
15-
1613
- Issue #25961: Disallowed null characters in the type name.
1714

1815
- Issue #25973: Fix segfault when an invalid nonlocal statement binds a name

Objects/typeobject.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,14 +3872,6 @@ _PyObject_GetState(PyObject *obj, int required)
38723872
}
38733873

38743874
assert(slotnames == Py_None || PyList_Check(slotnames));
3875-
#if 0
3876-
/* 2016-01-11 barry - This clause breaks at least three packages which
3877-
rely on Cython: kivy, pysam, and s3ql. Cython may be doing
3878-
something funny under the hood, but as this is clearly a regression
3879-
and the rationale for this prohibition is suspect, I am commenting
3880-
this out. Perhaps it should just be removed. See issue #22995 for
3881-
details.
3882-
*/
38833875
if (required) {
38843876
Py_ssize_t basicsize = PyBaseObject_Type.tp_basicsize;
38853877
if (obj->ob_type->tp_dictoffset)
@@ -3897,7 +3889,6 @@ _PyObject_GetState(PyObject *obj, int required)
38973889
return NULL;
38983890
}
38993891
}
3900-
#endif
39013892

39023893
if (slotnames != Py_None && Py_SIZE(slotnames) > 0) {
39033894
PyObject *slots;

0 commit comments

Comments
 (0)