[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the clarifications, Antoine. I'll see if I can come up with a doc patch that will try to emphasize these points. I'll probably just open a new, doc-issue to stop overloading this one. -- ___ Python tracker

[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > > Another question: What is the real purpose of pure paths? One thing I > > > see is using them to, say, manipulate Windows paths on a Posix machine > > > for some reason. > > > > Yes. Also, if some reason you want to be sure you're only doing path > > comput

[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: > > > Antoine Pitrou added the comment: > > > Another question: What is the real purpose of pure paths? One thing I > > see is using them to, say, manipulate Windows paths on a Posix machine > > for some reason. > > Yes. Also, if some reason you want to be sure yo

[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Another question: What is the real purpose of pure paths? One thing I > see is using them to, say, manipulate Windows paths on a Posix machine > for some reason. Yes. Also, if some reason you want to be sure you're only doing path computations, not I/O. > Any

[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: It's just a matter of looking for a familiar pattern while going over an unfamiliar doc page, I guess. I'll give it a try and see if it helps. Another question: What is the real purpose of pure paths? One thing I see is using them to, say, manipulate Windows pa

[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, it depends how much "formal" :-) The text does say: """Path constructors accept an arbitrary number of positional arguments. When called without any argument, a path object points to the current directory [etc.]""" I'm not against a more formal descript

[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: Yes, I've seen that. What I mean is that there's no clear signature defined with each argument explained, as the other stdlib documentation usually does. Section 11.1.2.1 uses a more descriptive approach, while I was also expecting a formal specification. I ca

[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, am I missing something - I don't see documentation for the > construction of Path/PurePath? It's there: http://docs.python.org/dev/library/pathlib.html#pathlib.PurePath -- ___ Python tracker

[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: Antoine, am I missing something - I don't see documentation for the construction of Path/PurePath? -- nosy: +eli.bendersky ___ Python tracker __

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm closing this issue. Please make any further comments in new issues! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue19673] PEP 428 implementation

2013-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 43377dcfb801 by Antoine Pitrou in branch 'default': Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428). http://hg.python.org/cpython/rev/43377dcfb801 -- nosy: +python-dev ___ Python

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I plan to commit soon, if there are no further comments. Remember the pathlib API is provisional, so API changes can still be made later if deemed necessary. -- ___ Python tracker

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file32777/pathlib3.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file32776/pathlib3.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file32776/pathlib3.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19673] PEP 428 implementation

2013-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch addressing review comments. -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-

[issue19673] PEP 428 implementation

2013-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch with a whatsnew entry. -- Added file: http://bugs.python.org/file32740/pathlib2.patch ___ Python tracker ___ _

[issue19673] PEP 428 implementation

2013-11-20 Thread Antoine Pitrou
New submission from Antoine Pitrou: Here is a patch integrating pathlib and its docs. Note that this was already briefly reviewed by Guido. -- components: Library (Lib) files: pathlib.patch keywords: patch messages: 203540 nosy: larry, pitrou priority: release blocker severity: normal st