PyCQA / redbaron

Bottom-up approach to refactoring in python
http://redbaron.pycqa.org/
694 stars 74 forks source link

Python3.6 Support: f-strings #160

Open brycepg opened 6 years ago

brycepg commented 6 years ago

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
boxed commented 6 years ago

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.

gpshead commented 4 years ago

sounds like #110 fixed this?