Message345945
>It can be fixed in general if deduce __module__ in type.__call__() instead of type.__new__().
But wouldn't we have the same problem if a metaclass overrides type.__call__ instead?
Also, wouldn't that reset the __module__ value anytime the class is called and an object is instantiated? |
|
Date |
User |
Action |
Args |
2019-06-18 02:41:46 | alegonz | set | recipients:
+ alegonz, steven.daprano, serhiy.storchaka, levkivskyi, abarry |
2019-06-18 02:41:46 | alegonz | set | messageid: <1560825706.4.0.31233420813.issue28869@roundup.psfhosted.org> |
2019-06-18 02:41:46 | alegonz | link | issue28869 messages |
2019-06-18 02:41:46 | alegonz | create | |
|