]> granicus.if.org Git - python/commit
bpo-35024: Remove redundant and possibly incorrect verbose message after writing...
authorQuentin Agren <quentin.agren@sciencespo.fr>
Fri, 26 Oct 2018 18:36:30 +0000 (20:36 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 Oct 2018 18:36:30 +0000 (11:36 -0700)
commit9e14e49f13ef1a726f31efe6689285463332db6e
tree01a3a37e6db2bd0da1b8af9850b7b44d9883cbbb
parent4e3a53bceefe4803c08a025523d8658862cb31c0
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
Lib/importlib/_bootstrap_external.py
Misc/NEWS.d/next/Library/2018-10-25-15-43-32.bpo-35024.ltSrtr.rst [new file with mode: 0644]
Python/importlib_external.h