summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-10-18 20:48:31 (GMT)
committerGitHub <noreply@github.com>2020-10-18 20:48:31 (GMT)
commit3c0ac18504cfeed822439024339d5717f42bdd66 (patch)
tree5856fb42353bd419b9c39f6d2790dec194f3d5fc /Misc
parentb81c833ab51fb7d7f0f8eaace37f60ef7455aa85 (diff)
downloadcpython-3c0ac18504cfeed822439024339d5717f42bdd66.zip
cpython-3c0ac18504cfeed822439024339d5717f42bdd66.tar.gz
cpython-3c0ac18504cfeed822439024339d5717f42bdd66.tar.bz2
bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-05-04-12-16-00.bpo-40492.ONk9Na.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-04-12-16-00.bpo-40492.ONk9Na.rst b/Misc/NEWS.d/next/Library/2020-05-04-12-16-00.bpo-40492.ONk9Na.rst
new file mode 100644
index 0000000..86bc08c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-05-04-12-16-00.bpo-40492.ONk9Na.rst
@@ -0,0 +1,3 @@
+Fix ``--outfile`` for :mod:`cProfile` / :mod:`profile` not writing the output
+file in the original directory when the program being profiled changes the
+working directory. PR by Anthony Sottile.