"Robert" wrote
I have been wondering about this "New-style Class" subject along this
line:
so, *theoretically speaking*, in EXISTING, pre-P3K code,
if one changes everywhere where it's coded "class someClass()" to
"class someClass(object)",
it should not break the programs, right ?
More co
On Sun, Jan 17, 2010 at 12:47 PM, Robert wrote:
> On Sun, Jan 17, 2010 at 11:25 AM, Alan Gauld
> wrote:
>> In older versions of Python it made a difference whether you used object
>> or not. Using object gave you a "new style" class which has several extra
>> features, without you got an "old st
"Timo Vanwynsberghe" wrote
I read that it is advised to subclass object.
Is it really necessary? I mean, everything works, why should I add it to
my
code?
In older versions of Python it made a difference whether you used object
or not. Using object gave you a "new style" class which has s