Message75106
Before CodecInfo tuple subclasses were introduced, the lookup() function
used to return a tuple: (encoder, decoder, stream_reader, stream_writer)
See http://www.python.org/dev/peps/pep-0100/
These were normally addressed by position rather than name and still are
in most cases.
I'm not sure whether the choice of attribute names on CodecInfo was done
on purpose or a simple oversight. Walter added them... I've added him on CC.
They do match the names of the methods on codecs, so perhaps we should
just change everything to read encode/decode instead of encoder/decoder ?! |
|
Date |
User |
Action |
Args |
2008-10-22 20:04:04 | lemburg | set | recipients:
+ lemburg, doerwalter, mfwitten |
2008-10-22 20:04:04 | lemburg | set | messageid: <1224705844.02.0.12923688306.issue4178@psf.upfronthosting.co.za> |
2008-10-22 20:04:03 | lemburg | link | issue4178 messages |
2008-10-22 20:04:01 | lemburg | create | |
|