Thread
:
Plugin not saving lists in C2.20
View Single Post
02-21-2015, 02:38 AM
#
6
kovidgoyal
creator of calibre
Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm, I suppose one workaround would be to have __getitem__ do a deepcopy of the value it returns if that value is a mutable type. That will be a performance penatly though.
Last edited by kovidgoyal; 02-21-2015 at
02:49 AM
.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS