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 asvetlov
Recipients asvetlov, rhettinger, serhiy.storchaka, uranusjr, yselivanov
Date 2022-02-14.14:46:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644849981.39.0.00996557612249.issue46622@roundup.psfhosted.org>
In-reply-to
Content
From my point of view, both sync and async functions can be cached.

Sync and async iterators/generators are other beasts: they don't return a value but generate a series of items. The series can be long and memory-consuming, I doubt if it should be cached safely.
History
Date User Action Args
2022-02-14 14:46:21asvetlovsetrecipients: + asvetlov, rhettinger, serhiy.storchaka, yselivanov, uranusjr
2022-02-14 14:46:21asvetlovsetmessageid: <1644849981.39.0.00996557612249.issue46622@roundup.psfhosted.org>
2022-02-14 14:46:21asvetlovlinkissue46622 messages
2022-02-14 14:46:21asvetlovcreate