> > SF bug #1155938: Missing None check for __init__().
> 
> Won't this break working (but erroneous) code? If so,
> should it be applied to the 2.4 branch?

Hmm, more than one poster found the error message to be helpful in
detecting buggy code.  The non-None return value was a pretty good
indicator that the code was doing something other than what the
programmer intended.

OTOH, there is almost certainly some existing, working code that would
stop working.

How about changing this to a warning in Py2.4?


Raymond

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to