Serhiy Storchaka added the comment: The patch LGTM, but I think SystemError is more appropriate. ---------- assignee: -> serhiy.storchaka _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18287> _______________________________________