Message52351
| 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:51 | admin | link | issue1692335 messages |
| 2007年08月23日 15:57:51 | admin | create |
|