New issue 3100: " ValueError: Unmatched '{' " while formatting "{:[XYZ}" https://bitbucket.org/pypy/pypy/issues/3100/valueerror-unmatched-while-formatting-xyz
Adrien Gabillaud: Hi. Iām sorry if this is alreay solved in latest release, I was not able to test with most recent version of PyPy, but I preferred to report this just in case. ā This code snippet: ``` class Foo: def __format__(self, f): return "!" print("{:[XYZ}".format(Foo())) ``` Raise an error `ValueError: Unmatched '{'` on PyPy 3.5 while it works fine on CPython. ā _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue