SilentGhost <ghost....@runbox.com> added the comment:
This doesn't seem at all related to walrus operator, I can reproduce this error on 3.6.7 and 3.7.3, given that format call returns exactly the same error, it seems like '=' is simply not a valid alignment for strings. I'm not saying that walrus operator did not introduce any errors, but those could be perhaps best tested using the following code: f'{x:=^10}' ---------- nosy: +SilentGhost _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36798> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com