Skip to content

[native] Allow unparenthesized tuples inside f-strings#621

Merged
stroxler merged 1 commit into
Instagram:mainfrom
isidentical:more-liberal-fstring
Jan 23, 2022
Merged

[native] Allow unparenthesized tuples inside f-strings#621
stroxler merged 1 commit into
Instagram:mainfrom
isidentical:more-liberal-fstring

Conversation

@isidentical
Copy link
Copy Markdown
Contributor

Summary

Fixes #620

Test Plan

Add a bunch of tests to ensure this problem is fixed.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 22, 2022
Copy link
Copy Markdown
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

Thanks @isidentical - looks correct to me (matches the non-native parser as well as cpython behavior)

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unpacked tuples inside f-strings are not allowed on the native parser

3 participants