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 yselivanov
Recipients gvanrossum, levkivskyi, ned.deily, serhiy.storchaka, yselivanov
Date 2016-11-09.17:50:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478713857.77.0.345161590569.issue28649@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch (slots_gc.patch) makes objects with empty slots tracked by GC:

   class A: __slots__ = ()
   gc.is_tracked(A()) == False  # before
   gc.is_tracked(A()) == True   # with the patch

This doesn't fix the refleak though.
History
Date User Action Args
2016-11-09 17:50:57yselivanovsetrecipients: + yselivanov, gvanrossum, ned.deily, serhiy.storchaka, levkivskyi
2016-11-09 17:50:57yselivanovsetmessageid: <1478713857.77.0.345161590569.issue28649@psf.upfronthosting.co.za>
2016-11-09 17:50:57yselivanovlinkissue28649 messages
2016-11-09 17:50:57yselivanovcreate