homepage

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 doerwalter, ezio.melotti, lemburg, ncoghlan, python-dev, serhiy.storchaka, vstinner
Date 2013年11月22日.21:57:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385157461.31.0.387486239809.issue19619@psf.upfronthosting.co.za>
In-reply-to
Content
With blacklisted transform codecs, I'm fine with the idea of restoring codecs aliases for transform codecs in Python 3.4. Go ahead Nick.
--
For Python 3.5, a better solution should be found to declare transform codecs.
And I had like to also add transform()/untransform() methods on bytes and str types. So you would have 4 API:
* Unicode text codecs: str.encode/str.decode, str=>bytes
* bytes transform codecs: bytes.transform/untransform, bytes-like object=>bytes
* Unicode transform codecs: str.transform/untransform, str=>str
* all codecs: codecs.encode/codecs.decode, something=>something else
But only few developers (only me?) are interested by transform/untransform, so codecs.encode/codecs.decode might be enough.
History
Date User Action Args
2013年11月22日 21:57:41vstinnersetrecipients: + vstinner, lemburg, doerwalter, ncoghlan, ezio.melotti, python-dev, serhiy.storchaka
2013年11月22日 21:57:41vstinnersetmessageid: <1385157461.31.0.387486239809.issue19619@psf.upfronthosting.co.za>
2013年11月22日 21:57:41vstinnerlinkissue19619 messages
2013年11月22日 21:57:41vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /