[New-bugs-announce] [issue16498] Unwanted link between volatile and shelve storage

Terry Cooper report at bugs.python.org
Sun Nov 18 14:38:57 CET 2012

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
files: bugMail.py
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: http://bugs.python.org/file28023/bugMail.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list