summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-01-06 18:10:47 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-01-06 18:10:47 (GMT)
commite96d4ea4e235645452ae8a6c8ab557d31d2bb485 (patch)
tree20802b2b4711f32d21d422a7335cfdac7ddc4f34 /Misc
parent3741bfdd3c789704f95b7969afa52f1053660e90 (diff)
downloadcpython-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/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 090eebd..cd6bec6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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