New submission from André Bjärby <andre.bja...@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
files: localstest.py
messages: 93745
nosy: andbj
severity: normal
status: open
title: locals() behaviour differs when tracing is in effect
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.1
Added file: http://bugs.python.org/file15081/localstest.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7083>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to