Author tomcl
Recipients tomcl
Date 2009-08-04.09:50:47
SpamBayes Score 6.30916e-07
Marked as misclassified No
Message-id <>
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:50tomclsetrecipients: + tomcl
2009-08-04 09:50:50tomclsetmessageid: <>
2009-08-04 09:50:48tomcllinkissue6637 messages
2009-08-04 09:50:47tomclcreate