Antoine Pitrou <pitrou at free.fr> added the comment: Or to add `_buffer = None` at the class level. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37054> _______________________________________