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

Implementation solution for f-string problems on 3.12 python version #4372

Closed
wants to merge 2 commits into from

Conversation

devshah9
Copy link

@devshah9 devshah9 commented May 26, 2024

Description

Fixes #4350

Fixes the F-strings issues for python 3.12 or new versions and give proper error on f-strings not compile

Checklist - did you ...

  • Add an entry in CHANGES.md if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

Copy link

github-actions bot commented May 26, 2024

diff-shades reports zero changes comparing this PR (aa3f319) to main (9c1fd46).


What is this? | Workflow run | diff-shades documentation

@JelleZijlstra
Copy link
Collaborator

Thank you! Could you add tests?

@devshah9
Copy link
Author

Sure let me try that out

…token handling, string normalization, and f-string quotes."
@tusharsadhwani
Copy link
Contributor

This breaks:

f"{f'\''}"

@JelleZijlstra
Copy link
Collaborator

This was fixed in a different PR.

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.

None yet

3 participants