Re: Rough PEP: A ModuleSpec Type for the Import System

Eric Snow <[email protected]>
Newsgroups gmane.comp.python.import
Message-ID <CALFfu7CashSNxcrtLimKrmyWSbAgRhk6Drngz+ai_2Qi5udTjQ@mail.gmail.com>
On Fri, Aug 9, 2013 at 12:23 PM, Brett Cannon <[email protected]> wrote:

>
>
>
> On Fri, Aug 9, 2013 at 2:15 PM, Eric Snow <[email protected]>wrote:
>
>> Would it be worth deprecating the current signature and attributes of
>> FileLoader, NamespaceLoader, etc.  FileLoader.get_filename() uses
>> self.path, but otherwise the only use for the attributes is already covered
>> by the info in the spec.
>>
>
> Probably, or at least provide a Spec-only signature of the __init__().
>
>
>>
>> Also, should we have timelines for the deprecations in the PEP.  I'm
>> inclined to not worry about it, but it *would* be nice to remove at least
>> some of the backward compatibility hackery that this PEP will introduce.
>>
>
> Since the backwards-compatibility hacks don't sound like they will be
> ridiculously complex or getting in the way I say just put in proper
> PendingDeprecationWarnings and assume they will be there until Python 4 (no
> later than 8 years away! =).
>

Sounds good.

-eric

_______________________________________________
Import-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/import-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.