Message175871
The Python statement gList1[i1][1] += gList2[i2][1] modifies not only gList1 (a volatile storage object) but dBasis[163] (a record within shelve object dBasis). Both gList and dBasis[163] are printed before and after execution of the statement by cFract2.combine. They are obviously not the same record, but the statement modifies gList1[2][1] and dBasis[163][2][1] simultaniously. |
|
Date |
User |
Action |
Args |
2012-11-18 13:38:58 | ttcooper | set | recipients:
+ ttcooper |
2012-11-18 13:38:57 | ttcooper | set | messageid: <1353245937.97.0.646518309195.issue16498@psf.upfronthosting.co.za> |
2012-11-18 13:38:57 | ttcooper | link | issue16498 messages |
2012-11-18 13:38:57 | ttcooper | create | |
|