R. David Murray added the comment:

transform/untransform has approval-in-principle, adding encode/decode to the 
type that doesn't have them has been explicitly (and repeatedly :) rejected.

(I don't know about anybody else, but at this point I have written code that 
assumes that if an object has an 'encode' method, calling it will get me a 
bytes, and vice versa with 'decode'...an assumption I know is not "safe", but 
that I feel is useful duck typing in the contexts in which I used it.)

Nick wants a PEP, other people have said a PEP isn't necessary.  What is 
certainly necessary is for someone to pick up the ball and run with it.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7475>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to