On Tue, Apr 14, 2015 at 11:14 PM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> For the source code to be dumped, it needs to be Python code (not a built-in
> or C extension object), the .py file still needs to be available where
> Python can see it (not just the .pyc file), and you need to have read
> permission.

And it has to have not been edited since the program started. I've had
some VERY strange-looking backtraces when I've been in the middle of
editing something, and maybe moved some code around, or just
added/deleted a block higher up in the file...

But if all of that, then yes, Python does help you figure out which
file to go look for. Love that feature.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to