diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-11-07 23:55:05 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-11-07 23:55:05 (GMT) |
commit | e52c919d67a20b235de008aed8a165778d78b2a9 (patch) | |
tree | 99b0dd63368ae71bc8dd00ff8d6cd6848e1fabfd /Misc | |
parent | 1b184d547f9421b586e92984960edc01bbb36307 (diff) | |
download | cpython-e52c919d67a20b235de008aed8a165778d78b2a9.zip cpython-e52c919d67a20b235de008aed8a165778d78b2a9.tar.gz cpython-e52c919d67a20b235de008aed8a165778d78b2a9.tar.bz2 |
When trying to write new bytecode, importlib was not catching the IOError
thrown if the file happened to be read-only to keep the failure silent.
Fixes issue #7187. Thanks, Dave Malcolm for the report and analysis of the
problem.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -472,6 +472,7 @@ Nick Maclaren Don MacMillen Steve Majewski Grzegorz Makarewicz +Dave Malcolm Ken Manheimer Vladimir Marangozov David Marek @@ -123,6 +123,9 @@ C-API Library ------- +- Issue #7187: Importlib would not silence the IOError raised when trying to + write new bytecode when it was made read-only. + - Issue #7264: Fix a possible deadlock when deallocating thread-local objects which are part of a reference cycle. |