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 serhiy.storchaka
Recipients barry, ezio.melotti, kushal.das, ncoghlan, pitrou, serhiy.storchaka, vstinner
Date 2013-05-22.06:53:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369205628.67.0.00277909219273.issue17839@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you Ezio and Nick for your comments.

> I suggest renaming _bytes_from_decode_data to "_bytes_for_decoding" and adding "_bytes_for_encoding".

I rather think a TypeError exception raised by `memoryview(s).tobytes()` is good enough and we don't need a special wrapper.
History
Date User Action Args
2013-05-22 06:53:48serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ncoghlan, pitrou, vstinner, ezio.melotti, kushal.das
2013-05-22 06:53:48serhiy.storchakasetmessageid: <1369205628.67.0.00277909219273.issue17839@psf.upfronthosting.co.za>
2013-05-22 06:53:48serhiy.storchakalinkissue17839 messages
2013-05-22 06:53:48serhiy.storchakacreate