diff Python/errors.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 d01c1d768841
children 3889d9528601 7e86fa255fc2
line wrap: on
line diff