Hello there, I'm writing a new blog post about some techniques for argument processing, the usual *args, **kw ... and I wanted to talk about keywork only and positional only arguments (https://docs.python.org/3/tutorial/controlflow.html#positional-or-keyword-arguments) and I think I fell onto a ~ring of fire~ bug.
given
def min(a, b, c, /):
return min((a,b,c))
the following call fails
>>> min(1,2,3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in min
TypeError: min() missing 2 required positional arguments: 'b' and 'c'
It's weird, isn't it?
My python version
β ~ python3 --version
Python 3.10.12
