[issue40492] -m cProfile -o f.pstats with a script that does chdir() writes to the changed directory and not `.`

Tal Einat report at bugs.python.org
Sun Oct 18 17:16:27 EDT 2020


Tal Einat <taleinat+python at gmail.com> added the comment:


New changeset 7c949020ef2520d7a7cbc978f0b34423e6c2a94c by Anthony Sottile in branch '3.9':
bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910)
https://github.com/python/cpython/commit/7c949020ef2520d7a7cbc978f0b34423e6c2a94c


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40492>
_______________________________________


More information about the Python-bugs-list mailing list