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)
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list