Author ncoghlan
Recipients Arfrever, Trundle, barry, djc, eric.araujo, nadeem.vawda, ncoghlan, petri.lehtinen, pitrou, python-dev, rpointel, skrah
Date 2011-12-04.09:30:03
SpamBayes Score 0.0355524
Marked as misclassified No
Message-id <1322991064.39.0.856755445214.issue12555@psf.upfronthosting.co.za>
In-reply-to
Content
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__.
History
Date User Action Args
2011-12-04 09:31:04ncoghlansetrecipients: + ncoghlan, barry, pitrou, nadeem.vawda, djc, eric.araujo, Arfrever, Trundle, skrah, python-dev, petri.lehtinen, rpointel
2011-12-04 09:31:04ncoghlansetmessageid: <1322991064.39.0.856755445214.issue12555@psf.upfronthosting.co.za>
2011-12-04 09:30:03ncoghlanlinkissue12555 messages
2011-12-04 09:30:03ncoghlancreate