[New-bugs-announce] [issue10533] defaultdict constructor with a concrete value

Łukasz Langa report at bugs.python.org
Thu Nov 25 18:00:49 CET 2010


New submission from Łukasz Langa <lukasz at langa.pl>:

Currently the constructor in defaultdict only accepts factories. It would be very handy to allow for concrete values as well. It's implementable either by checking if the argument is callable or by a new keyword argument.

----------
assignee: lukasz.langa
components: Library (Lib)
keywords: easy
messages: 122382
nosy: holdenweb, lukasz.langa, michael.foord
priority: low
severity: normal
status: open
title: defaultdict constructor with a concrete value
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10533>
_______________________________________


More information about the New-bugs-announce mailing list