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:40:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
This is a relatively simple repro of the underlying problem:

import _struct

s = _struct.Struct('i')

class C:
    def __del__(self):
        s.pack(42, 100)

_struct.x = C()

It's a little bit different in that it is actually causing the module to attempt to throw an exception instead of do a type check.
History
Date User Action Args
2020-01-16 19:40:37dino.viehlandsetrecipients: + dino.viehland, twouters, vstinner, eric.snow, pablogsal, eelizondo
2020-01-16 19:40:37dino.viehlandsetmessageid: <[email protected]>
2020-01-16 19:40:37dino.viehlandlinkissue38076 messages
2020-01-16 19:40:37dino.viehlandcreate