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
Date 2007年06月15日.00:34:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I have stumbled across another scenario where unpickling fails. If your exception takes arguments, but you call Exception.__init__ with a different number of arguments, it will fail. As in:
class D(Exception):
 def __init__(self, foo):
 self.foo = foo
 Exception.__init__(self)
History
Date User Action Args
2007年08月23日 15:57:51adminlinkissue1692335 messages
2007年08月23日 15:57:51admincreate

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