summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorQuentin Agren <quentin.agren@sciencespo.fr>2018-10-26 18:36:30 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-26 18:36:30 (GMT)
commit9e14e49f13ef1a726f31efe6689285463332db6e (patch)
tree01a3a37e6db2bd0da1b8af9850b7b44d9883cbbb /Misc
parent4e3a53bceefe4803c08a025523d8658862cb31c0 (diff)
downloadcpython-9e14e49f13ef1a726f31efe6689285463332db6e.zip
cpython-9e14e49f13ef1a726f31efe6689285463332db6e.tar.gz
cpython-9e14e49f13ef1a726f31efe6689285463332db6e.tar.bz2
bpo-35024: Remove redundant and possibly incorrect verbose message after writing '.pyc' (GH-9998)
Since `SourceFileLoader.set_data()` catches exceptions raised by `_write_atomic()` and logs an informative message consequently, always logging successful outcome in 'SourceLoader.get_code()' seems redundant. https://bugs.python.org/issue35024
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-25-15-43-32.bpo-35024.ltSrtr.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-25-15-43-32.bpo-35024.ltSrtr.rst b/Misc/NEWS.d/next/Library/2018-10-25-15-43-32.bpo-35024.ltSrtr.rst
new file mode 100644
index 0000000..ef15643
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-25-15-43-32.bpo-35024.ltSrtr.rst
@@ -0,0 +1,3 @@
+`importlib` no longer logs `wrote <bytecode path>` redundantly after
+`(created|could not create) <bytecode path>` is already logged.
+Patch by Quentin Agren.