This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cqxz
Recipients cqxz
Date 2014-01-17.21:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When two files have the same name and the first changes directory to the second, the inspect module can retrieve the source code for the latter incorrectly, so a simple call to inspect.stack() can be incorrect, and will fail if there are less lines in the nested module (foo/bar/ than in the calling module (foo/


(the foo/bar/ need only contain a single line, e.g. print "hello")
Date User Action Args
2014-01-17 21:08:16cqxzsetrecipients: + cqxz
2014-01-17 21:08:16cqxzsetmessageid: <>
2014-01-17 21:08:16cqxzlinkissue20290 messages
2014-01-17 21:08:16cqxzcreate