[Python-Dev] Re: [Python-checkins] python/dist/src/Misc NEWS, 1.1193.2.27, 1.1193.2.28

Anthony Baxter anthony at interlink.com.au
Fri Mar 4 03:45:20 CET 2005


On Friday 04 March 2005 03:56, rhettinger at users.sourceforge.net wrote:
> Update of /cvsroot/python/python/dist/src/Misc
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6024/Misc
>
> Modified Files:
>       Tag: release24-maint
> 	NEWS
> Log Message:
> 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?

>>> class f(object):
...   def __init__(self):
...     self.a = 1
...     return True
... 
>>> 
>>> a=f()
>>> 

-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the Python-Dev mailing list