> On Apr 12, 2016, at 10:52 AM, Sven R. Kunze <srku...@mail.de> wrote:
> 
> Path(...).open() is your friend then. I don't see why you need os.open.
> 
> Refusing to upgrade it like saying, everything was better in the old days. So 
> let's use os.open instead of Path(...).open().


I think it was a mistake to have Path(…).open to be honest and I think the main 
reason it exists is because open(Path(…)) doesn’t work (yet!). You can’t hang 
every single thing you might ever want to do to a Path off the path object.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
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

Reply via email to