[issue5197] vars() assignment fails silently when assignments made later

Hirokazu Yamamoto report at bugs.python.org
Tue Feb 10 08:35:45 CET 2009


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

According to http://docs.python.org/library/functions.html#vars

>The returned dictionary should not be modified: the effects on the
>corresponding symbol table are undefined.

Same can be said for locals() as well.

----------
nosy: +ocean-city
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list