We need to make a 'shallow copy' here other wise the cached value is also modified.
(bad) tmp_list = caching_method() tmp_list.extend(...) (good) tmp_list = caching_method()[:] tmp_list.extend(...) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26641 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment