[issue40492] -m cProfile -o f.pstats with a script that does chdir() writes to the changed directory and not `.`
Serhiy Storchaka
report at bugs.python.org
Fri May 15 03:43:12 EDT 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I am not sure what is better: to fix it at high level, in main() for cProfile and cProfile, or at low level, in methods runctx() and run() of profile._Utils.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40492>
_______________________________________
More information about the Python-bugs-list
mailing list