_checkClosed method is missing on pypy