◐ Shell
clean mode source ↗

Message 249509 - Python tracker

> I do understand your predicament. Can you live with just a special case for modules? __class__ assignment is full of non-portable special cases already.

Not only can I live with it, but -- unless I misunderstand your meaning -- this is exactly the approach that I am advocating and have submitted a patch to implement :-).