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 orsenthil
Recipients Ramchandra Apte, loewis, orsenthil, roger.serwy, terry.reedy
Date 2012-03-12.04:18:48
SpamBayes Score 0.0054573305
Marked as misclassified No
Message-id <1331525929.48.0.812486953086.issue13532@psf.upfronthosting.co.za>
In-reply-to
Content
Just a minor comment on the patch - It should be %r instead of %s.

-            raise TypeError('must be str, not %s' % type(s))
+            raise TypeError('must be str, not %r' % type(s))

If there is any test for this, it could be added. I find this approach 'OK'.
History
Date User Action Args
2012-03-12 04:18:49orsenthilsetrecipients: + orsenthil, loewis, terry.reedy, roger.serwy, Ramchandra Apte
2012-03-12 04:18:49orsenthilsetmessageid: <1331525929.48.0.812486953086.issue13532@psf.upfronthosting.co.za>
2012-03-12 04:18:48orsenthillinkissue13532 messages
2012-03-12 04:18:48orsenthilcreate