Here is another writeup on __new__() and __init__();
http://www.voidspace.org.uk/python/weblog/arch_d7_2008_09_20.shtml#e1014
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Thanks Kent! That really makes it clear now.
The bug I ran into was a while back and I've since ignored it to the point
of forgetting how to invoke it, but I remember the stack trace said
something about "variable received multiple arguments". I wanted to check
the arguments to see if the same v
On Sat, Sep 20, 2008 at 1:32 PM, Rob Kirkpatrick
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> In between an object's creation and call to __init__, where are the __init__
> arguments stored? Is there a class dictionary that init uses to initialize
> the instance? I tried printing Class.__init__, but
"Rob Kirkpatrick" <[EMAIL PROTECTED]> wrote
In between an object's creation and call to __init__, where are the
__init__
arguments stored? Is there a class dictionary that init uses to
initialize
the instance? I tried printing Class.__init__, but they aren't in
there.
I haven't checked Py
Hi All,
In between an object's creation and call to __init__, where are the __init__
arguments stored? Is there a class dictionary that init uses to initialize
the instance? I tried printing Class.__init__, but they aren't in there.
The reason I ask is that I was trying to track down a bug wher