PEP 428 (pathlib) now committed

Hello, I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of. I hope our Release Manager is doing ok :-) Regards Antoine.

2013/11/22 Antoine Pitrou <solipsis@pitrou.net>:
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
A PEP wouldn't be successful if it doesn't break any buildbot. PEP 451 was successful, as yours :-D http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/... Victor

It was too fast. I didn't had a chance to send the comments. -- anatoly t. On Fri, Nov 22, 2013 at 7:44 PM, Antoine Pitrou <solipsis@pitrou.net> wrote:
Hello,
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
I hope our Release Manager is doing ok :-)
Regards
Antoine.
_______________________________________________ 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/techtonik%40gmail.com

On Fri, 22 Nov 2013 17:44:55 +0100 Antoine Pitrou <solipsis@pitrou.net> wrote:
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
Actually, there turn out to be two platform-specific issues: - test_glob() failure under POSIX case-insensitive filesystems (in other words, OS X :-)): http://bugs.python.org/issue19718 - test_touch_common() failure under the Windows buildbot: http://bugs.python.org/issue19715 I'd be glad to have help or insight from people experts with those platforms on the issues above! Regards Antoine.

22.11.13 18:44, Antoine Pitrou написав(ла):
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
Congratuate Antoine! Does it means that issues #11344 (Add os.path.splitpath(path) function) [1] and #13968 (Support recursive globs) [2] have no chance? Both are ready for commit and waits for reviews almost a year. Are the os.path and glob modules deprecated now? [1] http://bugs.python.org/issue11344 [2] http://bugs.python.org/issue13968

I'd vote for a different perspective on path handling. For me the pathlib is not the good way to go. Especially with copying ill behaviour of old os.path functions. We definitely need a "task force page" dedicated to "working with paths in Python" to collaborate. ML + PEP with privileged write access is ineffective. While I like the problem decomposition what I see in pathlib, I don't think it supports the greatest power of Python that it allows you not to think about cross-platform differences - http://clanmills.com/files/dist/doc/cross_platform.html#python-batteries-inc... I've got the impression that while using pathlib you should care about those. I am +1 for iterating few more times to research best compromise between the most simple possible and most user friendly interface (wart-free). But every iteration should be historically accessible like in blog report, not like in Mercurial PEP diff. There is still problem to dedicate time though. -- anatoly t. On Sat, Nov 23, 2013 at 4:32 PM, Serhiy Storchaka <storchaka@gmail.com> wrote:
22.11.13 18:44, Antoine Pitrou написав(ла):
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
Congratuate Antoine!
Does it means that issues #11344 (Add os.path.splitpath(path) function) [1] and #13968 (Support recursive globs) [2] have no chance? Both are ready for commit and waits for reviews almost a year. Are the os.path and glob modules deprecated now?
[1] http://bugs.python.org/issue11344 [2] http://bugs.python.org/issue13968
_______________________________________________ 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/techtonik%40gmail.com

On Sat, 23 Nov 2013 15:32:58 +0200 Serhiy Storchaka <storchaka@gmail.com> wrote:
22.11.13 18:44, Antoine Pitrou написав(ла):
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
Congratuate Antoine!
Does it means that issues #11344 (Add os.path.splitpath(path) function) [1] and #13968 (Support recursive globs) [2] have no chance? Both are ready for commit and waits for reviews almost a year. Are the os.path and glob modules deprecated now?
They are not deprecated, no. I am not terribly interested in reviewing those patches, personally, but other people may be :-) Regards Antoine.

On 24 Nov 2013 01:21, "Antoine Pitrou" <solipsis@pitrou.net> wrote:
On Sat, 23 Nov 2013 15:32:58 +0200 Serhiy Storchaka <storchaka@gmail.com> wrote:
22.11.13 18:44, Antoine Pitrou написав(ла):
I've pushed pathlib to the repository. I'm hopeful there won't be new buildbot failures because of it, but still, there may be some platform-specific issues I'm unaware of.
Congratuate Antoine!
Does it means that issues #11344 (Add os.path.splitpath(path) function) [1] and #13968 (Support recursive globs) [2] have no chance? Both are ready for commit and waits for reviews almost a year. Are the os.path and glob modules deprecated now?
They are not deprecated, no. I am not terribly interested in reviewing those patches, personally, but other people may be :-)
Right, pathlib is an abstraction layer on top of the lower level implementation APIs, rather than a replacement for them. Cheers, Nick.
Regards
Antoine.
_______________________________________________ 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/ncoghlan%40gmail.com
participants (5)
-
anatoly techtonik
-
Antoine Pitrou
-
Nick Coghlan
-
Serhiy Storchaka
-
Victor Stinner