Re: PEP 451: Big update.

Nick Coghlan <[email protected]> Thu, 19 Sep 2013 18:17:27 +1000
Newsgroups gmane.comp.python.import
Message-ID <CADiSq7e+xRWskHOV-1rzHWja=JijSYxjZhK5ZMGNaekOy7fg3g@mail.gmail.com>
On 19 September 2013 15:38, Eric Snow <[email protected]> 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   |   [email protected]   |   Brisbane, Australia