Message 185440 - Python tracker

Message185440

Author nedbat
Recipients amaury.forgeotdarc, bgailer, docs@python, eric.snow, georg.brandl, nedbat, techtonik
Date 2013-03-28.12:18:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364473103.04.0.643122825767.issue17546@psf.upfronthosting.co.za>
In-reply-to
Content
Changing the type of the locals() return isn't the right way to solve this problem.  Better docs is the way to do it.  If someone is calling locals(), they should read the docs.  Examining the type of values is discouraged in Python, we shouldn't expect people to discover nonintuitive behavior because the type has been artificially changed to "livedict".
History
Date User Action Args
2013-03-28 12:18:23nedbatsetrecipients: + nedbat, georg.brandl, amaury.forgeotdarc, techtonik, bgailer, docs@python, eric.snow
2013-03-28 12:18:23nedbatsetmessageid: <1364473103.04.0.643122825767.issue17546@psf.upfronthosting.co.za>
2013-03-28 12:18:23nedbatlinkissue17546 messages
2013-03-28 12:18:22nedbatcreate