Issue222843

classification
Title: TypeError when using a PyStringMap as 3. argument in apply
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

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:51bckfnncreate