Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-99606: Make code generated for an empty f-string identical to that of a normal empty string #112407

Merged
merged 5 commits into from
Nov 26, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Nov 25, 2023

Copy link
Member

@ericvsmith ericvsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why the magic number needs to increase, because this is a backwards compatible change, but I suppose it doesn't really matter.

In any event, this looks good to me. Thanks!

Lib/importlib/_bootstrap_external.py Outdated Show resolved Hide resolved
Lib/importlib/_bootstrap_external.py Outdated Show resolved Hide resolved
@iritkatriel iritkatriel merged commit fb202af into python:main Nov 26, 2023
30 checks passed
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bytecode for empty f-string != bytecode for empty normal string
2 participants