[issue4426] UTF7 decoding is far too strict

Antoine Pitrou report at bugs.python.org
Mon May 4 15:17:36 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

A quick comment on the patch: it seems to invert (quite futily I'd say)
the meaning of the arguments given to PyUnicode_EncodeUTF7, which is an
incompatible API change.
I'm in favour of reworking this patch in order to keep the original API.
If I'm not mistaken, it's just a matter of using the boolean complement
of these two arguments (encodeSetO, encodeWhiteSpace) inside the body of
PyUnicode_EncodeUTF7.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4426>
_______________________________________


More information about the Python-bugs-list mailing list