Nick Coghlan <ncogh...@gmail.com> added the comment: There's a fairly sophisticated tapdance in object.__new__ that deals with this problem at that level.
See: http://hg.python.org/cpython/file/default/Objects/typeobject.c#l2869 The new IOError may require something similarly sophisticated to cope with subclasses that only override __init__. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12555> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com