Message91252
NB - (discussion of significance of this bug)
Defaultdict called with no argument is anomalous & this problem can be
avoided in such cases by using dict. However this is not possible if
default value can change and the documentation specifically defines
behavior when called with no parameter, so this case is allowed.
Furthermore this bug is unpleasant because when the default values are
never used it is very counterintuitive to imagine that the an error in
the default value function could have any effect on the output.
Possible solutions:
(1) raise error in this case, change documentation (I prefer)
(2) mend behaviour in this case
Best wishes, Tom |
|
Date |
User |
Action |
Args |
2009-08-04 09:50:50 | tomcl | set | recipients:
+ tomcl |
2009-08-04 09:50:50 | tomcl | set | messageid: <1249379450.59.0.450192814076.issue6637@psf.upfronthosting.co.za> |
2009-08-04 09:50:48 | tomcl | link | issue6637 messages |
2009-08-04 09:50:47 | tomcl | create | |
|