Amaury Forgeot d'Arc added the comment:
This is a bug in the script; the code is similar to the following::
>>> funclist = []
>>> global_list = []
>>> funclist.append(global_list)
>>> global_list.append(1)
>>> funclist.append(global_list)
>>> print funclist
[[1], [1]]
i.e the sam
New submission from Stephen Vavasis :
There seems to be a serious bug in how python 2.7.2 binds variables to values.
In the attached function buildfunclist, you see that there is a variable called
'funclist' that is initialized to [], and then is modified only with 'append'
calls. This means