Found that out :-(

You can use the local=locals() option so at least you have access to the 
local variables, which in the case of debugging, is exactly what I needed.

Since -i gives you control at the end of the program the locals are already 
gone.

Seems like both approaches have their advantages depending on the situation.

"Steve Holden" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Unfortunately it does so in an entirely new namespace, thereby losing the 
> advantage of -i - namely, that you can investigate the program's namespace 
> after it's terminated.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to