<p dir="ltr">As a simple user, pathlib simplifies playing with paths. A lot of things are easy to do. For example, Pathlib / "subfile" is so useful. </p>
<p dir="ltr">I also have a subclass of pathlib.Path on github that makes easy seeking for files and directories.</p>
<p dir="ltr">So keep alive pathlib !</p>
<div class="gmail_quote">Le 6 avr. 2016 13:06, "Paul Moore" <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6 April 2016 at 00:45, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>
> This does sound like it's the crucial issue, and it is worth writing<br>
> up clearly the pros and cons. Let's draft those lists in a thread<br>
> (this one's fine) and then add them to the PEP. We can then decide to:<br>
><br>
> - keep the status quo<br>
> - change PurePath to inherit from str<br>
> - decide it's never going to be settled and kill pathlib.py<br>
><br>
> (And yes, I'm dead serious about the latter, rather Solomonic option.)<br>
<br>
By the way, even if there's no solution that satisfies everyone to the<br>
"inherit from str" question, I'd still be unhappy if pathlib<br>
disappeared from the stdlib. It's useful for quick admin scripts that<br>
don't justify an external dependency. Those typically do quite a bit<br>
of path manipulation, and as such benefit from the improved API of<br>
pathlib over os.path.<br>
<br>
+1 on making (and documenting) a final decision on the "inherit from<br>
str" question<br>
-1 on removing pathlib just because that decision might not satisfy everyone<br>
<font color="#888888"><br>
Paul<br>
</font><div class="elided-text">_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/projetmbc%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/projetmbc%40gmail.com</a><br>
</div></blockquote></div>