[New-bugs-announce] [issue7083] locals() behaviour differs when tracing is in effect
report at bugs.python.org
Thu Oct 8 15:49:58 CEST 2009
New submission from André Bjärby <andre.bjarby at gmail.com>:
Running the attached script shows that locals() behaves differently
depending on whether sys.settrace() is active.
This does not occur when calling locals() in the global scope, only when
used inside functions.
components: Extension Modules, Interpreter Core
title: locals() behaviour differs when tracing is in effect
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.1
Added file: http://bugs.python.org/file15081/localstest.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce