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 arigo
Recipients
Date 2007-02-10.20:16:10
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
A point of detail probably, but I suppose that instead of introducing a new method on frame objects, we could allow f_locals to be a writeable attribute.  Setting it to a dictionary would update the value of the local variables.  It's a bit of a hack, but so is the need for an explicit savelocals() method.

A cleaner solution is to have f_locals return a dict-like object instead of a real dict when appropriate, but it takes more efforts to implement.
History
Date User Action Args
2007-08-23 16:12:32adminlinkissue1654367 messages
2007-08-23 16:12:32admincreate