This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Behdad.Esfahbod, ned.deily, ronaldoussoren
Date 2015-04-23.23:05:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429830342.63.0.57477163806.issue24040@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation does not explicitly state whether or not dict_type values have to be instances / subclasses of dict.  Can you give a code example, preferably something that could be added to Lib/test/test_plistlib.py, of a use case for something that is not a subclass of dict?   Some possible courses of action here: (1) Document that dict_type must be an instance or subclass of dict; (2) Change plistlib as you suggest to allow non-subclasses of dict; (3) Change plistlib to test for a subclass of collections.abc.MutableMapping; (4) other?
History
Date User Action Args
2015-04-23 23:05:42ned.deilysetrecipients: + ned.deily, ronaldoussoren, Behdad.Esfahbod
2015-04-23 23:05:42ned.deilysetmessageid: <1429830342.63.0.57477163806.issue24040@psf.upfronthosting.co.za>
2015-04-23 23:05:42ned.deilylinkissue24040 messages
2015-04-23 23:05:42ned.deilycreate