Ned Deily added the comment:

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?

----------
nosy: +ned.deily, ronaldoussoren

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24040>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to