homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients amaury.forgeotdarc, docs@python, eric.snow, techtonik
Date 2013年03月27日.12:03:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364385780.68.0.2563031821.issue17546@psf.upfronthosting.co.za>
In-reply-to
Content
Amaury, from user's point of view (I am not a core developer - I just need to troubleshoot complicated Python code) the object (the internal structure) returned by locals() has different behavior than a normal dict.
Normal dict in Python is updated by user code (which "I as a user" can see and can inspect for further troubleshooting) and for locals's dict this is not correct. 
If dict and locals's object are of the same type, I'd expect them to be interchangeable.
By proposing a documentation fix as a final remedy, please think about the entry point through which users come to this "trap".
History
Date User Action Args
2013年03月27日 12:03:00techtoniksetrecipients: + techtonik, amaury.forgeotdarc, docs@python, eric.snow
2013年03月27日 12:03:00techtoniksetmessageid: <1364385780.68.0.2563031821.issue17546@psf.upfronthosting.co.za>
2013年03月27日 12:03:00techtoniklinkissue17546 messages
2013年03月27日 12:03:00techtonikcreate

AltStyle によって変換されたページ (->オリジナル) /