On 2008-05-19 20:12, Terry Reedy wrote:
IOW, I think .transform may be the wrong solution to library disorganization.
Those methods are not meant to help with the library reorg. They are needed as an easy way to access codecs that perform str->str or bytes->bytes encoding/decoding, e.g. for escaping text ('unicode-printable', 'xml-escape'). I'm using gzip, uu or base64 as examples, since those codecs already exist in Python 2.x and currently cannot be used in Python 3.x due to the type restrictions on the .encode() and .decode() methods. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, May 19 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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com