Bug report
Bug description:
tuples can be created from iterators and this code should not need the creation of a list in between the iterator and the tuple.
if typed:
key += tuple([type(v) for v in args])
if kwds:
key += tuple([type(v) for v in kwds.values()])
as seen in ./Lib/functools.py
CPython versions tested on:
3.16
Operating systems tested on:
No response
Bug report
Bug description:
tuples can be created from iterators and this code should not need the creation of a list in between the iterator and the tuple.
as seen in ./Lib/functools.py
CPython versions tested on:
3.16
Operating systems tested on:
No response