Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On Wed, 20 Apr 2016 at 10:51 Koos Zevenhoven wrote: > On Wed, Apr 20, 2016 at 7:34 PM, Victor Stinner > wrote: > > > > 2016-04-20 18:12 GMT+02:00 Brett Cannon : > >> > >> I thought Chris and I w/ Ethan helping with coding, but if it's just me > for > >> the PEP then that's fine; > > 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. > 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 > > >> luckily my firefighter gear is well-worn: > >> https://goo.gl/photos/R8oWdLE45d99ebaw8 > > > > LOL, it seems appropriate for this topic... > > It sure has been flammable XD > > >> 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. :) > > 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 ;). > > > Victor > > ___ > > Python-Dev mailing list > > Python-Dev@python.org > > https://mail.python.org/mailman/listinfo/python-dev > > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/k7hoven%40gmail.com > ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On Wed, Apr 20, 2016 at 7:34 PM, Victor Stinner wrote: > > 2016-04-20 18:12 GMT+02:00 Brett Cannon : >> >> I thought Chris and I w/ Ethan helping with coding, but if it's just me for >> the PEP then that's fine; 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. >> luckily my firefighter gear is well-worn: >> https://goo.gl/photos/R8oWdLE45d99ebaw8 > > LOL, it seems appropriate for this topic... It sure has been flammable XD >> 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. :) 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 ;). > Victor > ___ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/k7hoven%40gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
Hi, 2016-04-20 18:12 GMT+02:00 Brett Cannon : >> >> Can you please wait for a PEP? Brett Canon and Ethan Furman are >> >> working on a PEP. > > I was actually going to send this email when I got in to work today, but > Victor and timezones beat me to it. :) Ha ha, bitten by the french connection! > 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 LOL, it seems appropriate for this topic... > 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. :) 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 ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On Wed, 20 Apr 2016 at 07:07 Chris Angelico wrote: > On Wed, Apr 20, 2016 at 11:58 PM, Ethan Furman wrote: > > On 04/20/2016 04:52 AM, Victor Stinner wrote: > > > >> Can you please wait for a PEP? Brett Canon and Ethan Furman are > >> working on a PEP. > I was actually going to send this email when I got in to work today, but Victor and timezones beat me to it. :) > > > > > > Actually, Brett Canon and Chris Angelico. > > I thought just Brett; my half of the proposal (the generic > "string-like" protocol) was withdrawn as being too broad in scope for > the justifying use-cases. > > Brett, your turn. :) > 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. :) ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On 04/20/2016 04:52 AM, Victor Stinner wrote: 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/ Nice article, thanks for sharing! -- ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On Wed, Apr 20, 2016 at 2:52 PM, Victor Stinner wrote: > 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. 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... > 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. 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. > 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/ 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 > > Victor > ___ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/k7hoven%40gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On Wed, Apr 20, 2016 at 11:58 PM, Ethan Furman wrote: > On 04/20/2016 04:52 AM, Victor Stinner wrote: > >> Can you please wait for a PEP? Brett Canon and Ethan Furman are >> working on a PEP. > > > Actually, Brett Canon and Chris Angelico. I thought just Brett; my half of the proposal (the generic "string-like" protocol) was withdrawn as being too broad in scope for the justifying use-cases. Brett, your turn. :) ChrisA ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Discussion on fspath: please wait for a PEP
On 04/20/2016 04:52 AM, Victor Stinner wrote: Can you please wait for a PEP? Brett Canon and Ethan Furman are working on a PEP. Actually, Brett Canon and Chris Angelico. > So please give them time to write it. Okay, I'll shut-up now. ;) -- ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] 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 ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com