➜

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.

作者 ehuss
收信人
日期 2007-06-15.00:34:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
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)
历史
日期 用户 动作 参数
2007-08-23 15:57:51admin链接issue1692335 messages
2007-08-23 15:57:51admin创建