Author eltoder
Recipients Guido.van.Rossum, Mark.Shannon, benjamin.peterson, eltoder, gvanrossum, larry, lemburg, njs, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2015-09-01.18:20:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Guido: IIUC the general intention is to support @property and __getattr__ style hooks on the module level. Assigning to sys.modules[name] from the module itself is a bit too late -- there's already a global dict for this module, and no way to create a module from an existing dict, so you end up with two global namespaces which is annoying (but admittedly people live with that). One way around that is to set up import hooks, but this is also annoying, and leaks module implementation outside of its code.
Date User Action Args
2015-09-01 18:20:22eltodersetrecipients: + eltoder, lemburg, gvanrossum, rhettinger, pitrou, vstinner, larry, benjamin.peterson, njs, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum
2015-09-01 18:20:22eltodersetmessageid: <>
2015-09-01 18:20:22eltoderlinkissue24912 messages
2015-09-01 18:20:22eltodercreate