Eric V. Smith added the comment: I'm thinking that instead of supporting backslashes in general inside expressions, I'll just special case strings.
So: f"{'\n' if foo else ''}" would be okay, but not: f"{a\ }" I think that would address the reason why \ was disallowed, but I'm going to have to go back and review the discussions to make sure. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30793> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com