Re: [Python-Dev] A codecs nit

2006-02-21 Thread Barry Warsaw
On Sat, 2006-02-18 at 14:44 +0100, M.-A. Lemburg wrote: > In Py 2.5 we'll change that. The encodings package search > function will only allow codecs in that package to be > imported. All other codec packages will have to provide > their own search function and register this with the > codecs regi

Re: [Python-Dev] A codecs nit

2006-02-18 Thread M.-A. Lemburg
Barry Warsaw wrote: > On Wed, 2006-02-15 at 22:07 +0100, M.-A. Lemburg wrote: > >> Those are not pseudo-encodings, they are regular codecs. >> >> It's a common misunderstanding that codecs are only seen as serving >> the purpose of converting between Unicode and strings. >> >> The codec system is

[Python-Dev] A codecs nit (was Re: bytes.from_hex())

2006-02-15 Thread Barry Warsaw
On Wed, 2006-02-15 at 22:07 +0100, M.-A. Lemburg wrote: > Those are not pseudo-encodings, they are regular codecs. > > It's a common misunderstanding that codecs are only seen as serving > the purpose of converting between Unicode and strings. > > The codec system is deliberately designed to be