On 4 Jan 2021, at 12:29, Paul Sokolovsky firstname.lastname@example.org wrote:
On Mon, 4 Jan 2021 21:47:26 +1100 Chris Angelico <email@example.com mailto:firstname.lastname@example.org> wrote:
On Mon, Jan 4, 2021 at 9:41 PM Paul Sokolovsky email@example.com wrote:
There're tons of projects which introduce alternative braces (i.e. C-like) syntax for Python. Most of them are however not properly documented, and definitely not spec'ed for what they do.
I wonder, does anyone here remember more or less formal proposal for braces syntax? A "minimum viable product" criteria would be support for lossless indent -> braces -> indent syntax roundtripping.
from __future__ import braces
File "<stdin>", line 1 SyntaxError: not a chance
Old, sour, buggy implementation from previous century.
This is more a signal that you are far from the first person asking about braces in Python, and what the general opinion from the language designers is about this.
IMHO it is highly unlikely that any proposal about adding braces to Python would be accepted.
Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/