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 ronaldoussoren
Recipients Michael.Felt, corona10, petdance, ronaldoussoren, shihai1991, vstinner
Date 2020-04-15.08:36:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586939775.35.0.67013394698.issue40170@roundup.psfhosted.org>
In-reply-to
Content
Something else that probably needs attention with the TypeSpec API is subclassing type in an extension when that subclass adds fields to the type object.

I use this in PyObjC to (dynamically) create types that have some additional data.  I could probably work around this issue by adding a level of indirection (basically storing the extra data in a WeakKeyDictionary), but haven't looked into this yet.
History
Date User Action Args
2020-04-15 08:36:15ronaldoussorensetrecipients: + ronaldoussoren, vstinner, Michael.Felt, corona10, shihai1991, petdance
2020-04-15 08:36:15ronaldoussorensetmessageid: <1586939775.35.0.67013394698.issue40170@roundup.psfhosted.org>
2020-04-15 08:36:15ronaldoussorenlinkissue40170 messages
2020-04-15 08:36:15ronaldoussorencreate