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 georg.brandl
Recipients docs@python, georg.brandl, vpelletier
Date 2012-01-23.07:58:49
SpamBayes Score 0.025621027
Marked as misclassified No
Message-id <1327305530.67.0.110373507683.issue13840@psf.upfronthosting.co.za>
In-reply-to
Content
It should only take bytes; "str" is Unicode in 3.x.

So the docs and the error message are wrong, the behavior is correct.  Reclassifying as a docs issue.
History
Date User Action Args
2012-01-23 07:58:50georg.brandlsetrecipients: + georg.brandl, docs@python, vpelletier
2012-01-23 07:58:50georg.brandlsetmessageid: <1327305530.67.0.110373507683.issue13840@psf.upfronthosting.co.za>
2012-01-23 07:58:50georg.brandllinkissue13840 messages
2012-01-23 07:58:49georg.brandlcreate