[New-bugs-announce] [issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

Eric Promislow report at bugs.python.org
Fri Jul 16 19:21:14 CEST 2010


New submission from Eric Promislow <ericp at activestate.com>:

Similar to bug http://bugs.python.org/issue5215 which found
a workaround in pdb.  Here I want to use code.InteractiveInterpreter
to modify code interactively (see Komodo bug
http://bugs.activestate.com/show_bug.cgi?id=87405 )

I can do this at the top-level, but not inside a function.  The
attached file shows the problem:

----------
components: Interpreter Core
files: bug87405a.py
messages: 110464
nosy: ericp
priority: normal
severity: normal
status: open
title: code.InteractiveInterpreter fails to change locals when invoked in a function
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file18029/bug87405a.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9274>
_______________________________________


More information about the New-bugs-announce mailing list