This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Arfrever, aronacher, brett.cannon, eric.snow, ncoghlan, rhettinger
Date 2014-05-24.14:28:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400941711.53.0.81553111077.issue20383@psf.upfronthosting.co.za>
In-reply-to
Content
I'd ask "Why not a class method?", but I already know the answer (types.ModuleType is implemented in C, so it would be unnecessarily painful to implement it that way).

Given that, the utility function approach sounds good to me.
History
Date User Action Args
2014-05-24 14:28:32ncoghlansetrecipients: + ncoghlan, brett.cannon, rhettinger, aronacher, Arfrever, eric.snow
2014-05-24 14:28:31ncoghlansetmessageid: <1400941711.53.0.81553111077.issue20383@psf.upfronthosting.co.za>
2014-05-24 14:28:31ncoghlanlinkissue20383 messages
2014-05-24 14:28:29ncoghlancreate