This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients nascheme, pablogsal, serhiy.storchaka, tim.peters, twouters, vstinner
Date 2019-10-07.11:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570448115.29.0.148318211025.issue38392@roundup.psfhosted.org>
In-reply-to
Content
It could be possible to do this in backward compatible way. PyObject_GC_Track() could add the object to the list of new objects (all objects are already linked in bi-linked list, so it would need to just move the object to the specified list), and PyObject_GC_NewVar() could check all new objects and clear the list of new objects (just move the head).

I am not sure it is worth to do such complication.
History
Date User Action Args
2019-10-07 11:35:15serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, twouters, nascheme, vstinner, pablogsal
2019-10-07 11:35:15serhiy.storchakasetmessageid: <1570448115.29.0.148318211025.issue38392@roundup.psfhosted.org>
2019-10-07 11:35:15serhiy.storchakalinkissue38392 messages
2019-10-07 11:35:15serhiy.storchakacreate