30 Jan
2007
30 Jan
'07
10:57 a.m.
Adam Olsen wrote:
[snip] Another, more bizarre approach would be to require default arguments be hashable. This would prevent lists from being used, protecting people from mistakes.
If my PEP ends up being rejected, I would fully support this. It wouldn't solve the more general problem, but at least it would prevent a common newbie mistake. - Chris Rebert