New submission from Antoine Pitrou <solipsis at pitrou.net>: The size check is done before encoding to utf-8... ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue40330> _______________________________________