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 Liran Nuna, asvetlov, xtreak, yselivanov
Date 2018-10-22.06:33:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540189987.65.0.788709270274.issue35040@psf.upfronthosting.co.za>
In-reply-to
Content
A coroutine detection is a relatively slow check.
I don't think we need to do it in `functools.lru_cache`.

There is a specialized asyncio compatible version: https://github.com/aio-libs/async_lru
Please use it.
History
Date User Action Args
2018-10-22 06:33:07asvetlovsetrecipients: + asvetlov, yselivanov, Liran Nuna, xtreak
2018-10-22 06:33:07asvetlovsetmessageid: <1540189987.65.0.788709270274.issue35040@psf.upfronthosting.co.za>
2018-10-22 06:33:07asvetlovlinkissue35040 messages
2018-10-22 06:33:07asvetlovcreate