[Import-SIG] PEP 451: Big update.

Nick Coghlan ncoghlan at gmail.com
Thu Sep 19 10:17:27 CEST 2013


On 19 September 2013 15:38, Eric Snow <ericsnowcurrently at gmail.com> wrote:
> I'm thinking that it may be useful to have ModuleSpec inherit from str and
> set it to the module name.  Then the spec could be passed directly to those
> loader APIs that take the module name.  Thoughts?

I think I'd need to see the code you think it would simplify before
saying yes (since my default answer is "No, inheriting from str is an
unnecessary hack").

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Import-SIG mailing list