[issue16498] Unwanted link between volatile and shelve storage

2012-11-18 Thread Terry Cooper
Terry Cooper added the comment: Got your message before I got his. Thanks for the reference to python-list. -Original Message- >From: "R. David Murray" >Sent: Nov 18, 2012 9:39 PM >To: ttcoo...@indy.net >Subject: [issue16498] Unwanted link between volatile and

[issue16498] Unwanted link between volatile and shelve storage

2012-11-18 Thread Terry Cooper
Terry Cooper added the comment: This is easy to reply to. You better believe I've tried printing gList1 and dBasis[163]. I've also scrapped a predecessor function named combo (which is included in the attachment) and written its successor, viz., "combine". I bent ov

[issue16498] Unwanted link between volatile and shelve storage

2012-11-18 Thread Terry Cooper
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