[Python-Dev] pathlib difference to the backport

Antoine Pitrou solipsis at pitrou.net
Mon Nov 10 17:53:19 CET 2014


On Mon, 10 Nov 2014 13:45:57 +0200
Ionel Cristian Mărieș <contact at ionelmc.ro> 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 remnant of the various pathlib prototypes, where this
was used for the openat()-based implementation. It should probably be
removed.

Regards

Antoine.




More information about the Python-Dev mailing list