Basic misunderstanding on object creation

Mark Lawrence breamoreboy at yahoo.co.uk
Wed May 13 13:43:59 EDT 2015


On 13/05/2015 18:05, Terry Reedy wrote:
> On 5/13/2015 12:38 PM, Mark Lawrence wrote:
>
>> I'm completely convinced that I've seen a change go through on the bug
>> tracker that impacts on this area, but many months if not years ago.
>> Unfortunately searching the bug tracker for super, __new__, __init__ and
>> so on gets a lot of hits, leaving my Mk1 eyeballs overworked.  At least
>> I've tried but sorry, had to give up :(
>
>  From my post, sent while you were composing this. (It took me awhile to
> find it.)
>
> Bugfixes break code that depends on buggy behavior. See
> https://bugs.python.org/issue1683368
> Your code also fails in 2.7.9 if you inherit Foo from object.
> The exact error messages changed for 3.4 in
> https://bugs.python.org/issue7963
>
> (Found by searching https://docs.python.org/3.4/whatsnew/changelog.html
> for 'object'. selecting 'Highlight All', and scanning Core and Builtins
> sections. I believe the change went into some 2.7.x release, as well as
> 3.3.0a1)

Yes, I saw your email from the bug tracker roughly five seconds after I 
hit the SEND key for mine above :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list