]> granicus.if.org Git - python/commit
Merged revisions 68360-68361 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Jan 2009 19:02:24 +0000 (19:02 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Jan 2009 19:02:24 +0000 (19:02 +0000)
commitd35cbf6e61cdf048a5ffe5413832eda970c277d8
treec8d531e7e6bcdac5fbd30ea656ce360fc96339b6
parent5d1ff00bc03ae5e297a81b3a35ecca8ed3d78d1b
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.
........
Lib/test/test_import.py
Misc/NEWS
Python/import.c