[Python-Dev] Revert #12085 fix for __del__ attribute error message
Jan Kaliszewski
zuo at chopin.edu.pl
Tue Sep 24 15:53:06 CEST 2013
24.09.2013 10:16, Antoine Pitrou wrote:
> On Tue, 24 Sep 2013 18:06:15 +1000
> Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>> How is it wrong? At the point where the interpreter says "This
>> exception is now unraisable", what, precisely, is it saying that is
>> wrong?
>> It isn't saying "this has never been raised". It is saying, "where
>> it
>> is currently being processed, this exception cannot be raised".
>
> Well, it is saying it. If it's conceptually unraisable, it can't be
> raised. I know your point is that it is only unraisable *now*, but
> that's not the intuitive interpretation.
And what about:
Exception not propagated from <bound method C.__del__
of <__main__.C object at 0x7f98b8b61538>>
...
Or:
Exception that cannot be propagated from <bound method C.__del__
of <__main__.C object at 0x7f98b8b61538>>
...
Cheers.
*j
More information about the Python-Dev
mailing list