Issue222843
Created on 2000-11-18.19:33:51 by bckfnn, last changed 2000-11-18.23:02:48 by bckfnn.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-11-18 19:33:51 | bckfnn | create | |
Created on 2000-11-18.19:33:51 by bckfnn, last changed 2000-11-18.23:02:48 by bckfnn.
| Messages | |||
|---|---|---|---|
| msg132 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.19:33:51 | |
The program below works with CPython but raises a TypeError with JPython. The exception message is somewhat ironic. ----------------- BEGIN test180.py ----------------- class A: pass def f(*args): print args apply(f, (1,2,3), A().__dict__) ----------------- END ----------------- d:\java\jpython\test>jpython test180.py Traceback (innermost last): File "test180.py", line 6, in ? TypeError: apply() 3rd argument must be a dictionary with string keys |
|||
| msg133 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.23:02:48 | |
Fixed in __builtin__. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-11-18 19:33:51 | bckfnn | create | |
Supported by Python Software Foundation,
Powered by Roundup