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 eric.araujo
Recipients Alexander.Tsepkov, eric.araujo
Date 2011-02-25.22:43:49
SpamBayes Score 0.00039771706
Marked as misclassified No
Message-id <1298673831.83.0.934833587189.issue11315@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the report and patch.  This is not as easy as it sounds: The doc ambiguously uses “string”; the code clearly wants only byte strings (str); in the 3.x version, only character strings (unicode) are accepted; “raw” would suggest to me than only bytes make sense.

I would tend to edit the documentation but no the behavior, given that 2.7 is stable and this behavior has been present and documented for a long time.  Senthil, what’s your opinion?
History
Date User Action Args
2011-02-25 22:43:51eric.araujosetrecipients: + eric.araujo, Alexander.Tsepkov
2011-02-25 22:43:51eric.araujosetmessageid: <1298673831.83.0.934833587189.issue11315@psf.upfronthosting.co.za>
2011-02-25 22:43:49eric.araujolinkissue11315 messages
2011-02-25 22:43:49eric.araujocreate