When I tried to update a class's __dict__, I got an error saying that
there is no 'update' attribute for dictproxy object. What is a
dictproxy object? I thought that __dict__ is always suppose to be a, no
kidding, dictionary? Hence there should indeed be an update method.
What's this proxy
[EMAIL PROTECTED] wrote:
When I tried to update a class's __dict__, I got an error saying that
there is no 'update' attribute for dictproxy object. What is a
dictproxy object?
a CPython implementation detail, used to protect an internal data structure used
by new-style objects from unexpected
Fredrik Lundh wrote:
[EMAIL PROTECTED] wrote:
When I tried to update a class's __dict__, I got an error saying that
there is no 'update' attribute for dictproxy object. What is a
dictproxy object?
a CPython implementation detail, used to protect an internal data structure
used
by
Le lundi 26 juin 2006 16:06, [EMAIL PROTECTED] a écrit :
Fredrik Lundh wrote:
[EMAIL PROTECTED] wrote:
When I tried to update a class's __dict__, I got an error saying that
there is no 'update' attribute for dictproxy object. What is a
dictproxy object?
a CPython implementation
All right. Thanks for explaining that Maric.
Maric Michaud wrote:
Le lundi 26 juin 2006 16:06, [EMAIL PROTECTED] a écrit :
Fredrik Lundh wrote:
[EMAIL PROTECTED] wrote:
When I tried to update a class's __dict__, I got an error saying that
there is no 'update' attribute for dictproxy