mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-110481: Implement biased reference counting (gh-110764)
This commit is contained in:
parent
05f2f0ac92
commit
6dfb8fe023
29 changed files with 511 additions and 52 deletions
|
|
@ -98,10 +98,7 @@ PyTypeObject PyEllipsis_Type = {
|
|||
ellipsis_new, /* tp_new */
|
||||
};
|
||||
|
||||
PyObject _Py_EllipsisObject = {
|
||||
{ _Py_IMMORTAL_REFCNT },
|
||||
&PyEllipsis_Type
|
||||
};
|
||||
PyObject _Py_EllipsisObject = _PyObject_HEAD_INIT(&PyEllipsis_Type);
|
||||
|
||||
|
||||
/* Slice object implementation */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue