summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-01-06 19:00:59 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-01-06 19:00:59 (GMT)
commit5b0767c31d7a397c4629f8dd67058bd116d99461 (patch)
tree325e60474632f0d8b716050b929a096870c2b2ab /Misc
parent8fe413119c31caee827ab48bd474ad6f8301e6d1 (diff)
downloadcpython-5b0767c31d7a397c4629f8dd67058bd116d99461.zip
cpython-5b0767c31d7a397c4629f8dd67058bd116d99461.tar.gz
cpython-5b0767c31d7a397c4629f8dd67058bd116d99461.tar.bz2
Merged revisions 68360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68360 | antoine.pitrou | 2009-01-06 19:10:47 +0100 (mar., 06 janv. 2009) | 7 lines 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 354d0f0..eaad519 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 2.6.2
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