Alex Henderson added the comment: OK, now raises ValueError on passing anything other than 'strict'.
Note that for the incremental classes I've put checking in __init__ so that ValueError is raised when non-'strict' values are passed to the constructor, not when the incremental encode/decode methods are subsequently called. ---------- Added file: http://bugs.python.org/file30902/issue17840.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17840> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com