Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-99606: consistent empty f-string bytecode#99608

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

thatbirdguythatuknownot
Copy link
Contributor

@thatbirdguythatuknownotthatbirdguythatuknownot commentedNov 20, 2022
edited by bedevere-bot
Loading

Incompiler_joined_str(), handle empty f-strings by merging logic with the firstif statement and replace all further references ofasdl_seq_LEN(e->v.JoinedStr.values) withvalue_count.

Note on "remove redundancy": in `compiler_joined_str()`, replace all further references of `asdl_seq_LEN(e->v.JoinedStr.values)` with `value_count`.
@thatbirdguythatuknownot
Copy link
ContributorAuthor

thatbirdguythatuknownot commentedDec 19, 2023
edited
Loading

Other PR (#112407) got merged.

@iritkatriel
Copy link
Member

Sorry, I didn't notice your PR before I made mine. I should have looked more carefully!

@thatbirdguythatuknownot
Copy link
ContributorAuthor

Sorry, I didn't notice your PR before I made mine. I should have looked more carefully!

It's alright, I think the other one is a better approach anyway. Besides, this one doesn't have tests.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@iritkatrieliritkatrielAwaiting requested review from iritkatrieliritkatriel is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@thatbirdguythatuknownot@iritkatriel@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp