diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-06 19:02:24 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-06 19:02:24 (GMT) |
commit | d35cbf6e61cdf048a5ffe5413832eda970c277d8 (patch) | |
tree | c8d531e7e6bcdac5fbd30ea656ce360fc96339b6 /Misc | |
parent | 5d1ff00bc03ae5e297a81b3a35ecca8ed3d78d1b (diff) | |
download | cpython-d35cbf6e61cdf048a5ffe5413832eda970c277d8.zip cpython-d35cbf6e61cdf048a5ffe5413832eda970c277d8.tar.gz cpython-d35cbf6e61cdf048a5ffe5413832eda970c277d8.tar.bz2 |
Merged revisions 68360-68361 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.
........
r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (mar., 06 janv. 2009) | 3 lines
Use shutil.rmtree rather than os.rmdir.
........
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 3.1 alpha 0 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 #4580: Fix slicing of memoryviews when the item size is greater than one byte. Also fixes the meaning of len() so that it returns the number of items, rather than the size in bytes. |