homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ehuss
Recipients alexandre.vassalotti, brett.cannon, ehuss, facundobatista, georg.brandl, gvanrossum, jafo, jarpa, loewis, nnorwitz, zseil
Date 2008年11月18日.23:07:21
SpamBayes Score 8.957634e-05
Marked as misclassified No
Message-id <1227049642.42.0.973570146613.issue1692335@psf.upfronthosting.co.za>
In-reply-to
Content
In the attached test_exception_pickle.py file, class C and D cannot be
unpickled (raises TypeError).
class C(Exception):
 """Extension with values, args not set."""
 def __init__(self, foo):
 self.foo = foo
class D(Exception):
 """Extension with values, init called with no args."""
 def __init__(self, foo):
 self.foo = foo
 Exception.__init__(self)
There are also some other exceptions that fail to be handled properly. 
See the exception_pickling_26.diff for some unittests. In particular, I
see SlotedNaiveException failing.
History
Date User Action Args
2008年11月18日 23:07:22ehusssetrecipients: + ehuss, gvanrossum, loewis, nnorwitz, brett.cannon, georg.brandl, facundobatista, jafo, zseil, alexandre.vassalotti, jarpa
2008年11月18日 23:07:22ehusssetmessageid: <1227049642.42.0.973570146613.issue1692335@psf.upfronthosting.co.za>
2008年11月18日 23:07:21ehusslinkissue1692335 messages
2008年11月18日 23:07:21ehusscreate

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