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 ronaldoussoren
Recipients docs@python, moshemorad12340, ronaldoussoren
Date 2020-08-24.10:14:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598264068.67.0.492149331993.issue41621@roundup.psfhosted.org>
In-reply-to
Content
This is intentional behaviour, the factory can only be passed as a positional argument.

The documentation[1] mentions this, although its probably possible to write this a bit clearer.

[1] https://docs.python.org/3.8/library/collections.html#collections.defaultdict
History
Date User Action Args
2020-08-24 10:14:28ronaldoussorensetrecipients: + ronaldoussoren, docs@python, moshemorad12340
2020-08-24 10:14:28ronaldoussorensetmessageid: <1598264068.67.0.492149331993.issue41621@roundup.psfhosted.org>
2020-08-24 10:14:28ronaldoussorenlinkissue41621 messages
2020-08-24 10:14:28ronaldoussorencreate