Message220319
See issue 7963 for a clue to why you get this message. That is, it is object.__new__ that is getting called, not object.__init__, and __new__ methods result in different error messages than __init__ methods. I don't know if there is a practical way to make it better. For example you also have this:
>>> a = A('abc', 'xyz')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: decoding str is not supported
>>> a = A('abc', 2, 3, 54)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: str() takes at most 3 arguments (4 given) |
|
Date |
User |
Action |
Args |
2014-06-11 22:46:21 | r.david.murray | set | recipients:
+ r.david.murray, Gerrit.Holl |
2014-06-11 22:46:21 | r.david.murray | set | messageid: <1402526781.6.0.301638100571.issue21728@psf.upfronthosting.co.za> |
2014-06-11 22:46:21 | r.david.murray | link | issue21728 messages |
2014-06-11 22:46:21 | r.david.murray | create | |
|