Message366494
| 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. |
|