Content-Length: 248492 | pFad | https://github.com/micropython/micropython/pull/15218

76 py/lexer: Support raw f-strings. by dpgeorge · Pull Request #15218 · micropython/micropython · GitHub
Skip to content

py/lexer: Support raw f-strings. #15218

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

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Jun 6, 2024

Support for raw str/bytes already exists, and extending that to raw f-strings is easy. It also reduces code size because it eliminates an error message.

Support for raw str/bytes already exists, and extending that to raw
f-strings is easy.  It also reduces code size because it eliminates an
error message.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge added the py-core Relates to py/ directory in source label Jun 6, 2024
Copy link

github-actions bot commented Jun 6, 2024

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:   -32 -0.004% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:   -32 -0.004% RPI_PICO_W
       samd:   -16 -0.006% ADAFRUIT_ITSYBITSY_M4_EXPRESS

@dpgeorge dpgeorge mentioned this pull request Jun 6, 2024
5 tasks
@dpgeorge dpgeorge merged commit 3c8089d into micropython:master Jun 6, 2024
59 of 60 checks passed
@dpgeorge dpgeorge deleted the py-fstring-raw branch June 6, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
py-core Relates to py/ directory in source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/micropython/micropython/pull/15218

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy