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, python-dev, rhettinger, serhiy.storchaka
Date 2015-12-27.18:19:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451240344.1.0.891933527794.issue25447@psf.upfronthosting.co.za>
In-reply-to
Content
The Python implementation survives a deepcopy because the Python implementation has a function type, and functions functions are copied as atoms.

Proposed patch just implements __copy__ and __deepcopy__ methods that returns the object itself for the lru_cache object.
History
Date User Action Args
2015-12-27 18:19:04serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, jaraco, python-dev
2015-12-27 18:19:04serhiy.storchakasetmessageid: <1451240344.1.0.891933527794.issue25447@psf.upfronthosting.co.za>
2015-12-27 18:19:04serhiy.storchakalinkissue25447 messages
2015-12-27 18:19:04serhiy.storchakacreate