From: SourceForge.net <no...@so...> - 2005-02-26 22:17:29
|
Bugs item #1152612, was opened at 2005-02-26 14:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1152612&group_id=12867 Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: vars(obj) returns PyStringMap instead of DictType Initial Comment: When getting an object's __dict__, the type() of the dictionary object returns PyStringMap. This causes a problem because types.DictType does not match PyStringMap. Some existing Marshallers (in my case, xmlrpclib) expect an Instance's __dict__ to be a DictType when marshalling an Instance (such as an Exception). It looks like types.DictType should match org.python.core.PyStringMap. When getting the __dict__ of an Instance in CPython, it returns a type of DictType. -Steve leo...@nu... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1152612&group_id=12867 |