[issue20135] FAQ need list mutation answers

R. David Murray report at bugs.python.org
Fri Jan 17 16:36:16 CET 2014


R. David Murray added the comment:

I *thought* there was a FAQ entry for that.  Didn't think to look for it in the design section though :(.  Nor is the title likely to catch the eye of someone wondering why their default argument modifications are being unexpectedly persistent.  Also, the fact that it starts out with the sentence "This type of bug commonly bites neophyte programmers" is, IMO, a clue it should be in the programming section.

----------

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


More information about the Python-bugs-list mailing list