Discussion on fspath: please wait for a PEP

Hi, I'm unable to count the number of threads about the fspath protocol. It's even more difficult to count the total number of emails. IMHO everyone had enough time to give him/her opinion. We even had multiple summaries :-) Can you please wait for a PEP? Brett Canon and Ethan Furman are working on a PEP. So please give them time to write it. The PEP should summarize the discussion and help a lot to make concrete progress on the design (avoid restarting to discuss the same points forever). I don't expect that more emails would add anything at the current state of the discussion. I think that we have enough other topics to discuss in the meanwhile ;-) FYI there is already an article about fspath/pathlib on LWN. Here is a free link until the article is freely accessible: "Python looks at paths" By Jake Edge (April 13, 2016) https://lwn.net/SubscriberLink/683350/4f52334af09653c8/ Victor

On Wed, 20 Apr 2016 at 07:07 Chris Angelico <rosuav@gmail.com> wrote:
I was actually going to send this email when I got in to work today, but Victor and timezones beat me to it. :)
I thought Chris and I w/ Ethan helping with coding, but if it's just me for the PEP then that's fine; luckily my firefighter gear is well-worn: https://goo.gl/photos/R8oWdLE45d99ebaw8 I'll try to get a PEP draft written and posted prior to PyCon US. I will reply to any dangling comments/issues that have appeared overnight to close those threads, but otherwise I will start ignoring all discussions so I can focus on the PEP. Everyone can now consider themselves spared from any further path-related discussions. :)

Hi, 2016-04-20 18:12 GMT+02:00 Brett Cannon <brett@python.org>:
Ha ha, bitten by the french connection!
LOL, it seems appropriate for this topic...
I hesitated to propose to create a fspath-sig mailing list, but I suck at humor and so I skipped this joke in my email ;-) Victor

On Wed, Apr 20, 2016 at 7:34 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Well, just in case you didn't notice this on python-ideas, I offered to work on the PEP in case there turns out to be one. This was when Guido had asked if there is going to be a PEP, in response to my "Type hinting for path-related functions" email. That offer is certainly still valid.
It sure has been flammable XD
Yes, going from endless discussion to PEP seems like a very healthy direction at this point.
I hesitated to propose to create a fspath-sig mailing list, but I suck at humor and so I skipped this joke in my email ;-)
You did not have to tell that joke, the joke was present all the time ;).

On Wed, 20 Apr 2016 at 10:51 Koos Zevenhoven <k7hoven@gmail.com> wrote:
I'm going to host the draft PEP at https://github.com/brettcannon/path-pep/blob/master/pep-0NNN.rst . Let me get a basic first draft done so there is something to work off of and if you still want to be co-author I'll be more than happy to add you as a co-author to help me finish it! -Brett

On Wed, Apr 20, 2016 at 2:52 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Couldn't agree more.
We even had multiple summaries :-)
I'm not quite as sure about this. Maybe the meaning of "summary" in the subculture of python lists is different from the one I know.
Can you please wait for a PEP? Brett Canon and Ethan Furman are working on a PEP. So please give them time to write it.
I wonder what happened there...
Again, agreed, and this part makes me feel relieved. Personally, I got tired of the discussion a long time ago, but felt it had to be finished.
I think that we have enough other topics to discuss in the meanwhile ;-)
No doubt about that.
Wow. Wasn't expecting that. A whole story about the notorious "path discussions"! (well, up to some date). Anyway, the beginning seems fairly accurate, but then, among other things, it fails to mention this for example: https://mail.python.org/pipermail/python-ideas/2016-March/039179.html https://mail.python.org/pipermail/python-ideas/2016-April/039595.html Since I did not get any responses to that suggestion, it felt like a dead end, and I continued experimenting with other things and ended up taking the approach of "subclassing path-types from str gives more complete pathlib support, but the objects should not pretend to be strings in every way". By the way, I even implemented this, which I suppose I failed to mention. Admittedly, it became a little awkward in the end, but the main point was to provide a smooth transition from a str world to a PurePath-subclass world (as opposed to a discrete one like Py3k). While I was working on that, the discussions on -dev seemed to have reopened the gate at exactly that 'dead end' I mentioned before, and had started to step through it. -Koos

On Wed, 20 Apr 2016 at 07:07 Chris Angelico <rosuav@gmail.com> wrote:
I was actually going to send this email when I got in to work today, but Victor and timezones beat me to it. :)
I thought Chris and I w/ Ethan helping with coding, but if it's just me for the PEP then that's fine; luckily my firefighter gear is well-worn: https://goo.gl/photos/R8oWdLE45d99ebaw8 I'll try to get a PEP draft written and posted prior to PyCon US. I will reply to any dangling comments/issues that have appeared overnight to close those threads, but otherwise I will start ignoring all discussions so I can focus on the PEP. Everyone can now consider themselves spared from any further path-related discussions. :)

Hi, 2016-04-20 18:12 GMT+02:00 Brett Cannon <brett@python.org>:
Ha ha, bitten by the french connection!
LOL, it seems appropriate for this topic...
I hesitated to propose to create a fspath-sig mailing list, but I suck at humor and so I skipped this joke in my email ;-) Victor

On Wed, Apr 20, 2016 at 7:34 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Well, just in case you didn't notice this on python-ideas, I offered to work on the PEP in case there turns out to be one. This was when Guido had asked if there is going to be a PEP, in response to my "Type hinting for path-related functions" email. That offer is certainly still valid.
It sure has been flammable XD
Yes, going from endless discussion to PEP seems like a very healthy direction at this point.
I hesitated to propose to create a fspath-sig mailing list, but I suck at humor and so I skipped this joke in my email ;-)
You did not have to tell that joke, the joke was present all the time ;).

On Wed, 20 Apr 2016 at 10:51 Koos Zevenhoven <k7hoven@gmail.com> wrote:
I'm going to host the draft PEP at https://github.com/brettcannon/path-pep/blob/master/pep-0NNN.rst . Let me get a basic first draft done so there is something to work off of and if you still want to be co-author I'll be more than happy to add you as a co-author to help me finish it! -Brett

On Wed, Apr 20, 2016 at 2:52 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
Couldn't agree more.
We even had multiple summaries :-)
I'm not quite as sure about this. Maybe the meaning of "summary" in the subculture of python lists is different from the one I know.
Can you please wait for a PEP? Brett Canon and Ethan Furman are working on a PEP. So please give them time to write it.
I wonder what happened there...
Again, agreed, and this part makes me feel relieved. Personally, I got tired of the discussion a long time ago, but felt it had to be finished.
I think that we have enough other topics to discuss in the meanwhile ;-)
No doubt about that.
Wow. Wasn't expecting that. A whole story about the notorious "path discussions"! (well, up to some date). Anyway, the beginning seems fairly accurate, but then, among other things, it fails to mention this for example: https://mail.python.org/pipermail/python-ideas/2016-March/039179.html https://mail.python.org/pipermail/python-ideas/2016-April/039595.html Since I did not get any responses to that suggestion, it felt like a dead end, and I continued experimenting with other things and ended up taking the approach of "subclassing path-types from str gives more complete pathlib support, but the objects should not pretend to be strings in every way". By the way, I even implemented this, which I suppose I failed to mention. Admittedly, it became a little awkward in the end, but the main point was to provide a smooth transition from a str world to a PurePath-subclass world (as opposed to a discrete one like Py3k). While I was working on that, the discussions on -dev seemed to have reopened the gate at exactly that 'dead end' I mentioned before, and had started to step through it. -Koos
participants (5)
-
Brett Cannon
-
Chris Angelico
-
Ethan Furman
-
Koos Zevenhoven
-
Victor Stinner