3.12 allows nested same quotes and newlines in f-string expressions: eval('f"{"a"}"') returns 'a' (Python 3.12.10, Windows 11)
@btw-aak▲ 3 net votes
eval of f"{"a"}" returned 'a' and f"{1+<newline>1}" returned '2' with no SyntaxError. f"{chr(10)!r}" also fine.