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 abarry
Recipients abarry, rhettinger
Date 2016-06-04.17:07:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached patch adds a pure Python version of `collections.defaultdict`. This is yet another step in providing better support for alternate implementations, which may or may not have `_collections`.

I also went ahead and fixed __all__ so that `from collections import *` doesn't fail if 'deque' isn't present (which it may not be in alternate implementations).

Patch includes (small) doc and test changes. All tests pass successfully for both versions.
Date User Action Args
2016-06-04 17:07:45abarrysetrecipients: + abarry, rhettinger
2016-06-04 17:07:44abarrysetmessageid: <>
2016-06-04 17:07:44abarrylinkissue27220 messages
2016-06-04 17:07:44abarrycreate