This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vdupras
Recipients vdupras
Date 2008-02-21.13:18:10
SpamBayes Score 0.011059028
Marked as misclassified No
Message-id <1203599894.08.0.0572757924214.issue2153@psf.upfronthosting.co.za>
In-reply-to
Content
What prompted me to do these changes is that "Backward compatibility" 
section for 2.1 and earlier. How long are we going to keep this? According 
to svn, no commit has been made on the 2.1 branch since 2003. Is it safe 
to assume no unittest change is ever going to be backported to 2.1?

Then, while I was in it, I made other changes:

 - dict.has_key(key) --> key in dict
 - raise Exception, args --> raise Exception(args)
 - try..except KeyboardInterrupt: raise except: do_stuff() --> try..except 
Exception: do_stuff()
 - __metaclass__ = type --> all classes are now object subclasses

I'm not sure about the last one. Are those 2 equivalent? Is there a reason 
to keep is as "__metaclass__ = type"?

regrtest passed for me.
History
Date User Action Args
2008-02-21 13:18:14vduprassetspambayes_score: 0.011059 -> 0.011059028
recipients: + vdupras
2008-02-21 13:18:14vduprassetspambayes_score: 0.011059 -> 0.011059
messageid: <1203599894.08.0.0572757924214.issue2153@psf.upfronthosting.co.za>
2008-02-21 13:18:12vdupraslinkissue2153 messages
2008-02-21 13:18:12vduprascreate