Author brett.cannon
Recipients Arfrever, aronacher, brett.cannon, eric.snow, ncoghlan, rhettinger
Date 2014-05-24.14:05:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400940345.19.0.580605466008.issue20383@psf.upfronthosting.co.za>
In-reply-to
Content
Nope, I commented where I meant to. I wanted a way to promote people to **always** create modules with properly initialized attributes while also dealing with the module creation dance at the same time. Otherwise it will require expanding the API of types.ModuleType() to accommodate specs while also needing to expose a function to do the proper thing to get a module for a loader and **still** have a function to set up a module properly based on what was potentially returned from create_module(). Rolling it all into a single function that just gets you a module ready for use seems like the most practical solution from an API perspective.
History
Date User Action Args
2014-05-24 14:05:45brett.cannonsetrecipients: + brett.cannon, rhettinger, ncoghlan, aronacher, Arfrever, eric.snow
2014-05-24 14:05:45brett.cannonsetmessageid: <1400940345.19.0.580605466008.issue20383@psf.upfronthosting.co.za>
2014-05-24 14:05:45brett.cannonlinkissue20383 messages
2014-05-24 14:05:44brett.cannoncreate