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 dino.viehland
Recipients dino.viehland, eelizondo, eric.snow, pablogsal, twouters, vstinner
Date 2020-01-16.19:47:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579204060.37.0.580519928886.issue38076@roundup.psfhosted.org>
In-reply-to
Content
And here's a variation which doesn't involve any instances from the module:

import _struct

class C:
    def __init__(self):
        self.pack = _struct.pack
    def __del__(self):
        self.pack('I', -42)

_struct.x = C()
History
Date User Action Args
2020-01-16 19:47:40dino.viehlandsetrecipients: + dino.viehland, twouters, vstinner, eric.snow, pablogsal, eelizondo
2020-01-16 19:47:40dino.viehlandsetmessageid: <1579204060.37.0.580519928886.issue38076@roundup.psfhosted.org>
2020-01-16 19:47:40dino.viehlandlinkissue38076 messages
2020-01-16 19:47:40dino.viehlandcreate