<!-- If you're new to Python and you're not sure whether what you're experiencing is a bug, the CPython issue tracker is not the right place to seek help. Consider the following options instead: - reading the Python tutorial: https://docs.python.org/3/tutorial/ - posting in the "Users" category on discuss.python.org: https://discuss.python.org/c/users/7 - emailing the Python-list mailing list: https://mail.python.org/mailman/listinfo/python-list - searching our issue tracker (https://github.com/python/cpython/issues) to see if your problem has already been reported --> # Bug report The bytecode for an empty f-string does not match the bytecode for an empty normal string. ```py import dis dis.dis('""') dis.dis('f""') ``` Output: ``` 0 0 RESUME 0 1 2 LOAD_CONST 0 ('') 4 RETURN_VALUE 0 0 RESUME 0 1 2 BUILD_STRING 0 4 RETURN_VALUE ``` # Environment <!-- Include as many relevant details as possible about the environment you experienced the bug in --> - CPython versions tested on: 3.11, 3.12.0a2 <!-- You can freely edit this text. Remove any lines you believe are unnecessary. --> <!-- gh-linked-prs --> ### Linked PRs * gh-99608 * gh-112407 <!-- /gh-linked-prs -->