This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients jaraco, rhettinger, serhiy.storchaka
Date 2015-10-20.18:08:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445364506.83.0.089959689495.issue25447@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure that we can say that deepcopying was not supported for lru_cache. copy.deepcopy() returned the same object, as for immutable objects, but can we consider decorated with lru_cache() function immutable?
 
The question is: if made functools._lru_cache_wrapper to support deepcopy protocol, should the result of copy.deepcopy() share the cache with original?
History
Date User Action Args
2015-10-20 18:08:26serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, jaraco
2015-10-20 18:08:26serhiy.storchakasetmessageid: <1445364506.83.0.089959689495.issue25447@psf.upfronthosting.co.za>
2015-10-20 18:08:26serhiy.storchakalinkissue25447 messages
2015-10-20 18:08:26serhiy.storchakacreate