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 r.david.murray
Recipients Guy, r.david.murray
Date 2010-07-28.00:39:21
SpamBayes Score 9.89212e-05
Marked as misclassified No
Message-id <1280277563.38.0.809659458028.issue9389@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, this is the way it works.  There is no copy of the lines kept in memory, the only lines that can be displayed in the traceback are the ones currently on disk.

Although your speaking about a "script" is a bit confusing: if you are running a script from the command line, then the update to the source file should be noticed and the code reinterpreted.  I'm guessing you aren't running a standalone script, but are running and editing something out of an interpreter session that doesn't restart.  If this is correct then my statement above applies.  If not, you can give more details, but I doubt that there is a real python bug here so I'm closing the issue.  It can always be reopened if it turns out I'm wrong.
History
Date User Action Args
2010-07-28 00:39:23r.david.murraysetrecipients: + r.david.murray, Guy
2010-07-28 00:39:23r.david.murraysetmessageid: <1280277563.38.0.809659458028.issue9389@psf.upfronthosting.co.za>
2010-07-28 00:39:21r.david.murraylinkissue9389 messages
2010-07-28 00:39:21r.david.murraycreate