Message235314
Made a straightforward patch for this. Probably not that pretty, so suggestions are welcome.
Note that some function names will become pretty long in exceptions:
>>> class A:
... def __init__(self):
... def f():
... pass
... f(1,2,3)
...
>>> A()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 5, in __init__
TypeError: A.__init__.<locals>.f() takes 0 positional arguments but 3 were given
Passing UTs from lastest snapshot. |
|
| Date |
User |
Action |
Args |
| 2015-02-03 06:32:18 | xonatius | set | recipients:
+ xonatius, belopolsky, pitrou, ezio.melotti, smurfix, Arfrever, ilblackdragon |
| 2015-02-03 06:32:18 | xonatius | set | messageid: <[email protected]> |
| 2015-02-03 06:32:18 | xonatius | link | issue2786 messages |
| 2015-02-03 06:32:18 | xonatius | create | |
|