diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-06 18:10:47 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-06 18:10:47 (GMT) |
commit | e96d4ea4e235645452ae8a6c8ab557d31d2bb485 (patch) | |
tree | 20802b2b4711f32d21d422a7335cfdac7ddc4f34 /Misc | |
parent | 3741bfdd3c789704f95b7969afa52f1053660e90 (diff) | |
download | cpython-e96d4ea4e235645452ae8a6c8ab557d31d2bb485.zip cpython-e96d4ea4e235645452ae8a6c8ab557d31d2bb485.tar.gz cpython-e96d4ea4e235645452ae8a6c8ab557d31d2bb485.tar.bz2 |
Issue #1180193: When importing a module from a .pyc (or .pyo) file with
an existing .py counterpart, override the co_filename attributes of all
code objects if the original filename is obsolete (which can happen if the
file has been renamed, moved, or if it is accessed through different paths).
Patch by Ziga Seilnacht and Jean-Paul Calderone.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #1180193: When importing a module from a .pyc (or .pyo) file with + an existing .py counterpart, override the co_filename attributes of all + code objects if the original filename is obsolete (which can happen if the + file has been renamed, moved, or if it is accessed through different paths). + Patch by Ziga Seilnacht and Jean-Paul Calderone. + - Issue #4075: Use OutputDebugStringW in Py_FatalError. - Issue #4797: IOError.filename was not set when _fileio.FileIO failed to open |