Ronald Oussoren <ronaldousso...@mac.com> added the comment:

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.

----------
nosy: +ronaldoussoren

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to