Message257086
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. |
|
Date |
User |
Action |
Args |
2015-12-27 18:19:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, jaraco, python-dev |
2015-12-27 18:19:04 | serhiy.storchaka | set | messageid: <1451240344.1.0.891933527794.issue25447@psf.upfronthosting.co.za> |
2015-12-27 18:19:04 | serhiy.storchaka | link | issue25447 messages |
2015-12-27 18:19:04 | serhiy.storchaka | create | |
|