Ezio Melotti <ezio.melo...@gmail.com> added the comment:

AFAIU final means:
  * final=0: I'm passing in a few bytes, but there are more to come, so if the 
last byte(s) doesn't make sense on its own (e.g. it's a start byte but the 
continuation bytes are missing), wait for the others before raising an error;
  * final=1: these are the last bytes, so if the last byte(s) doesn't make 
sense raise an error (or ignore/replace) because there won't be other bytes 
that might turn that in a well-formed byte sequence.

----------

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

Reply via email to