redbaron icon indicating copy to clipboard operation
redbaron copied to clipboard

Python3.6 Support: f-strings

Open brycepg opened this issue 7 years ago • 2 comments
trafficstars

Currently redbaron doesn't support f-strings:

from redbaron import RedBaron
RedBaron("""
f'foo'
""")

Results in

ParsingError: Error, got an unexpected token STRING here:

   1 f'foo'<---- here

brycepg avatar Mar 21 '18 01:03 brycepg

There's already a ticket on baron at https://github.com/PyCQA/baron/issues/130

It looks like no one is looking at PRs though, because most python3 issues are already fixed (although not f-strings): https://github.com/PyCQA/baron/pull/120 Until the existing PRs are merged I don't think anyone will want to try to create a PR for what looks like an abandoned project.

boxed avatar Apr 23 '18 13:04 boxed

sounds like #110 fixed this?

gpshead avatar Apr 30 '20 03:04 gpshead