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 ZackerySpytz, benjamin.peterson, christian.heimes, serhiy.storchaka, terry.reedy, vstinner
Date 2019-04-09.10:45:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554806701.23.0.0241453401665.issue18372@roundup.psfhosted.org>
In-reply-to
Content
GC support can not be removed, because these objects are created also as long living objects using the standard way. And in this case they are tracked (in PyType_GenericAlloc()) and tp_traverse is called. They are not tracked only when created by an internal API _Pickler_New() and _Unpickler_New().

The current code is correct and I do not see reasons to change it.
History
Date User Action Args
2019-04-09 10:45:01serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, vstinner, christian.heimes, benjamin.peterson, ZackerySpytz
2019-04-09 10:45:01serhiy.storchakasetmessageid: <1554806701.23.0.0241453401665.issue18372@roundup.psfhosted.org>
2019-04-09 10:45:01serhiy.storchakalinkissue18372 messages
2019-04-09 10:45:01serhiy.storchakacreate