Message405376
I see several ways of solving this:
1. Make `lru_cache(typed=True)` to look into iterable internals. This might be slow. And very slow for large iterables. Maybe even infinite for infinite ones
2. Adapt `Literal` / possibly other types to be treated differently. Because, most of the time, `Literal` take a small amount of args
I am going to send a PR with the second option. |
|
Date |
User |
Action |
Args |
2021-10-30 16:59:20 | sobolevn | set | recipients:
+ sobolevn, gvanrossum, rhettinger, kj, vanburgerberg |
2021-10-30 16:59:20 | sobolevn | set | messageid: <1635613160.9.0.373671075511.issue45679@roundup.psfhosted.org> |
2021-10-30 16:59:20 | sobolevn | link | issue45679 messages |
2021-10-30 16:59:20 | sobolevn | create | |
|