Index: IPython/ipstruct.py =================================================================== --- IPython/ipstruct.py (revision 2924) +++ IPython/ipstruct.py (working copy) @@ -111,7 +111,8 @@ dict = {} if isinstance(dict,Struct): dict = dict.dict() - elif dict and type(dict) is not types.DictType: + elif dict and type(dict) is not types.DictType and 0: + # in jython this can be a ... but I don't know how to compare it raise TypeError,\ 'Initialize with a dictionary or key=val pairs.' dict.update(kw)