Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I think it goes too far. It was initially designed as a simple for implementation and use feature which covers a large amount of use cases of using f-strings for debugging. You propose to add syntactically a new postfix operator which is valid only in "="-substisutions in f-strings, with complex semantic. It would be difficult to implement, and it would significantly complicate Python grammar. Also it will prevent using ? for other purposes in Python expressions in future. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43695> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com