[issue25625] "chdir" Contex manager for pathlib

Jáchym Barvínek report at bugs.python.org
Sat Nov 14 14:11:06 EST 2015


Jáchym Barvínek added the comment:

I did not know about cwd for Popen. It seems like the better way to go.
Thank you.

2015-11-14 19:58 GMT+01:00 desbma <report at bugs.python.org>:

>
> desbma added the comment:
>
> I'm not a Python core developer, but a few thoughts:
> * this is not thread safe
> * subprocess.Popen already has a cwd parameter for similar purpose
>
> ----------
> nosy: +desbma
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue25625>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25625>
_______________________________________


More information about the Python-bugs-list mailing list