[Python-ideas] New PEP proposal -- Pathlib Module Should Contain All File Operations

Brett Cannon brett at python.org
Mon Mar 19 15:08:56 EDT 2018


On Sun, 18 Mar 2018 at 20:37 Nathaniel Smith <njs at pobox.com> wrote:

> On Sun, Mar 18, 2018 at 4:58 AM, George Fischhof <george at fischhof.hu>
> wrote:
> > Of course several details could be put into it, but I think it would
> better
> > to let the developers decide the details, because they know the
> environment
> > and the possibilities.
>
> That's not how PEPs work :-). Someone has to do the work of collating
> contradictory feedback and making opinionated design proposals, and
> the person who does that is called the PEP author.
>
> In this case, I'd also suggest framing the PEP as a list of specific
> things that should be added to pathlib.Path, with justifications for
> each. If your argument is "X should be in pathlib because it's in some
> other module", then that's not very compelling -- by definition it
> already means we have an X, so why do we need another? I think for a
> number of these cases there actually is a good answer to that
> question, but your PEP has to actually provide that answer :-).
>

And just to make it super-clear, the advise Nathaniel has provided will be
required to be met before any of the PEP editors accept this proposal. IOW
a bullet list will not suffice and you will need clear justification for
every change you make in order to explain why every book on Python will
need to be updated due to this PEP. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180319/76229fc7/attachment.html>


More information about the Python-ideas mailing list