Bug report regarding string.replace() inside a formatter line #13401
Unanswered
rmetrich
asked this question in
Core Development
Replies: 1 comment 1 reply
-
There are a lot of f-string features that MicroPython doesn't support: MicroPython differences from CPython | Core language. There must be a less convoluted way of expressing this code. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've started using micropython on a esp8266, it's just great!
I would like to report a bug in string's replace() implementation with colon replacement.
I could confirm it also fails with the online unicorn emulator, please find below the code excerpt:
This kind of code works find on regular python.
It seems to be an issue only when using a
f""
formatter.Beta Was this translation helpful? Give feedback.
All reactions