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 vstinner
Recipients William.Wu, georg.brandl, orsenthil, vstinner
Date 2011-02-10.16:59:24
SpamBayes Score 5.2635255e-07
Marked as misclassified No
Message-id <1297357165.28.0.217914369755.issue11082@psf.upfronthosting.co.za>
In-reply-to
Content
Georg Brandl: can this fix go into Python 3.2? It changes the API.

I like any patch rejecting unicode where unicode is irrevelant (where we don't know how to choose the right encoding).

About the patch: you should maybe add a test to ensure that str is rejected with a TypeError.
History
Date User Action Args
2011-02-10 16:59:25vstinnersetrecipients: + vstinner, georg.brandl, orsenthil, William.Wu
2011-02-10 16:59:25vstinnersetmessageid: <1297357165.28.0.217914369755.issue11082@psf.upfronthosting.co.za>
2011-02-10 16:59:24vstinnerlinkissue11082 messages
2011-02-10 16:59:24vstinnercreate