Message291139
You could try:
glob = globals.copy()
glob.update(a.__dict__)
glob.update(b.__dict__)
You can do this automatically following MyClass.__mro__ and then collecting relevant __module__ attributes on bases.
However, there is little chance this will be fixed in typing itself. It is difficult to cover all possible cases, so that users should choose custom globals/locals for their needs. |
|
Date |
User |
Action |
Args |
2017-04-04 20:29:56 | levkivskyi | set | recipients:
+ levkivskyi, simon.percivall |
2017-04-04 20:29:56 | levkivskyi | set | messageid: <1491337796.51.0.0537990914165.issue29966@psf.upfronthosting.co.za> |
2017-04-04 20:29:56 | levkivskyi | link | issue29966 messages |
2017-04-04 20:29:56 | levkivskyi | create | |
|