Hello,On Mon, 4 Jan 2021 21:47:26 +1100Chris Angelico <email@example.com> wrote:
On Mon, Jan 4, 2021 at 9:41 PM Paul Sokolovsky <firstname.lastname@example.org>Old, sour, buggy implementation from previous century.
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
File "<stdin>", line 1
from __future__ import braces
SyntaxError: not a chance
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