[issue19663] Not so correct error message when initializing defaultdict

2015-07-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue19663] Not so correct error message when initializing defaultdict

2015-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset d248702feab0 by Raymond Hettinger in branch '2.7': Issue #19663: Improve error message for defaultdict. https://hg.python.org/cpython/rev/d248702feab0 -- ___ Python tracker

[issue19663] Not so correct error message when initializing defaultdict

2015-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset efda1eaf86a3 by Raymond Hettinger in branch '3.4': Issue #19663: Improve error message for defaultdict. https://hg.python.org/cpython/rev/efda1eaf86a3 -- nosy: +python-dev ___ Python tracker

[issue19663] Not so correct error message when initializing defaultdict

2015-07-19 Thread Milan Oberkirch
Milan Oberkirch added the comment: *ping* This is still a reasonable patch. Would be great if you can apply it :) -- nosy: +zvyn versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker

[issue19663] Not so correct error message when initializing defaultdict

2013-11-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable patch. I'll apply it when I have some spare time. -- assignee: -> rhettinger priority: normal -> low versions: +Python 2.7 ___ Python tracker

[issue19663] Not so correct error message when initializing defaultdict

2013-11-20 Thread Vajrasky Kok
New submission from Vajrasky Kok: >>> from collections import defaultdict >>> defaultdict('') Traceback (most recent call last): File "", line 1, in TypeError: first argument must be callable >>> defaultdict(None) defaultdict(None, {}) >>> None() Traceback (most recent call last): File "", l