Re: [Python-Dev] pathlib difference to the backport

2014-11-10 Thread Ionel Cristian Mărieș
Speaking of that, shouldn't pathlib have support for dir_fd? Thanks, -- Ionel M. On Mon, Nov 10, 2014 at 6:53 PM, Antoine Pitrou wrote: > On Mon, 10 Nov 2014 13:45:57 +0200 > Ionel Cristian Mărieș wrote: > > Hey, > > > > It appears there's a peculiar difference between the pathlib in the 3.4

Re: [Python-Dev] pathlib difference to the backport

2014-11-10 Thread Antoine Pitrou
On Mon, 10 Nov 2014 13:45:57 +0200 Ionel Cristian Mărieș wrote: > Hey, > > It appears there's a peculiar difference between the pathlib in the 3.4 > branch and the one on bitbucket: cpython's pathlib.Path implements a no-op > context manager interface. What's the purpose of that? Hum... That's a

[Python-Dev] pathlib difference to the backport

2014-11-10 Thread Ionel Cristian Mărieș
Hey, It appears there's a peculiar difference between the pathlib in the 3.4 branch and the one on bitbucket: cpython's pathlib.Path implements a no-op context manager interface. What's the purpose of that? It's also inconsistent, stat and all the methods that depend on stat do not implement the "