Georg Brandl added the comment:
It is documented, however, that globals() returns the dictionary of a module,
which can be modified. For locals(), the situation is quite more complicated,
which is why the warning there is warranted.
--
nosy: +georg.brandl
resolution: -> works for me
New submission from Thomas Guettler :
Hi,
the documentation of "globals()" is missing a note if you can update
the dictionary:
http://docs.python.org/library/functions.html?highlight=globals#globals
For "locals()" it is documented:
http://docs.python.org/library/functions.html?highlight=locals