diff Python/Python-ast.c @ 50616:fc0000682bfe legacy-trunk

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.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 06 Jan 2009 18:10:47 +0000
parents 2e38ca709b1d
children 40c8c35492f1
line wrap: on
line diff