[Python-Dev] Exception masking/chaining

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
2003年6月13日 02:02:50 +1000


>>> Guido van Rossum wrote
> I think (1) and (3) aren't absolutely necessary -- strings and classic
> classes would simply not have the traceback attribute. For backwards
> compatibility it could still be kept separate in (the per-thread
> equivalent of) sys.exc_traceback, 

As an aside, is it planned that sys.exc_traceback,type and value will
start emitting DeprecationWarnings any time soon? I find myself stumbling 
over them in other people's code far too often for comfort, where they 
are obviously unaware that they're not thread-safe. 
Anthony
-- 
Anthony Baxter <anthony@interlink.com.au> 
It's never too late to have a happy childhood.

AltStyle によって変換されたページ (->オリジナル) /