Cython + f"type of a is {type(a)}" does not work
This fails:
cat << EOF
def func(a):
print(f"an f string {type(a)}")
EOF
bin/pypy -m cythonize test_fstring.pyx -b
bin/pypy -c "import test_fstring; test_fstring.func('as')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "test_fstring.pyx", line 2, in test_fstring.func
print(f"an f string {type(a)}")
TypeError: __format__() missing 1 required positional argument: 'format_spec'