New submission from Terry Cooper:

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.

components: Windows
messages: 175871
nosy: ttcooper
priority: normal
severity: normal
status: open
title: Unwanted link between volatile and shelve storage
type: behavior
versions: Python 2.7
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to