[Python-3000] PEP 3138- String representation in Python 3000

M.-A. Lemburg mal at egenix.com
Wed May 14 19:27:18 CEST 2008


On 2008-05-14 18:55, Guido van Rossum wrote:
> On Wed, May 14, 2008 at 9:33 AM, Georg Brandl <g.brandl at gmx.net> wrote:
>>  Will this get use the hex, base64 etc. "codecs" back? If yes, great!
> 
> If someone does the work, yes. There will need to be some way to add
> metadata to codecs to indicate which of the following they support:
> str<->bytes, str<->str, bytes<->bytes.

No problem: we have codecs.CodecInfo to store such information.

We'd just need a way to describe the supported input/output
type combinations in one or more attributes to that structure.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 14 2008)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::


    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611


More information about the Python-3000 mailing list