On Thu, May 19, 2011 at 10:11 PM, Navkirat Singh wrote:
> Thanks Guys...I will look deeper into this. I thought I read somewhere that
> it was required in older python releases, but in newer releases it is not. I
> might be wrong though.
In Python 3.x all classes inherit from object by default, s
On Fri, May 20, 2011 at 8:25 AM, MRAB wrote:
> On 20/05/2011 03:13, Navkirat Singh wrote:
>
>> Hi Guys,
>>
>> I have been wondering for a while now as to why some classes inherit
>> Object? And what does it really do for the class? Can anyone shed some
>> light on this?
>>
>> Read section 3.3 "N
Hi Nav:
Here is the long why.
http://www.python.org/download/releases/2.2.3/descrintro/
I guess for most programs, there is no big difference. But in
term of some new added features in python, you might not be able to
work. Say, you could not use super in type, also you can't mul
Hi Nav:
Here is the long why.
http://www.python.org/download/releases/2.2.3/descrintro/
I guess for most programs, there is no big difference. But in
term of some new added features in python, you might not be able to
work. Say, you could not use super in type, also you can't mul
Hi Nav:
Here is the long why.
http://www.python.org/download/releases/2.2.3/descrintro/
I guess for most programs, there is no big difference, but if
you use some special features that might be different. Say, could use
super when using type() instead of class(), also, when using m
On 20/05/2011 03:13, Navkirat Singh wrote:
Hi Guys,
I have been wondering for a while now as to why some classes inherit
Object? And what does it really do for the class? Can anyone shed some
light on this?
Read section 3.3 "New-style and classic classes" in the Python docs.
--
http://mail.pyt
Hi Guys,
I have been wondering for a while now as to why some classes inherit Object?
And what does it really do for the class? Can anyone shed some light on
this?
Regards,
Nav
--
http://mail.python.org/mailman/listinfo/python-list