Got it
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
I'm not sure if you're reading the right document, but PEP 634 refers to
636 in its second paragraph
On Tue, 4 May 2021, 19:56 Shreyan Avigyan,
wrote:
> Ok. Now I'm able to understand. PEP 634 should have a reference to PEP 636
> or else it's pretty hard to understand because the syntax
This thread is closed therefore. (It was mistakenly opened due to
misunderstanding.)
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
Ooops...Didn't notice it. Anyway this thread is considered closed.
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Ok.
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
It does, right at the top: https://www.python.org/dev/peps/pep-0634/#abstract
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
Ok. Now I'm able to understand. PEP 634 should have a reference to PEP 636 or
else it's pretty hard to understand because the syntax section demonstrates
PEG implementation of this.
___
Python-ideas mailing list -- python-ideas@python.org
To
I'm confused. PEP 634 is about switch statements in Python or PEG?
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Isn't PEP 643 for PEG grammar pattern matching? (I'm talking about
> switch statements in Python)
I think you are referring to PEP 634, the one I linked to. I suggest you
read it (and the other link I sent).
I copy from PEP 636, marked as a sort of "tutorial" for PEP 634:
```
A match
> Most of programming languages out there have switch-case statements.
> Python doesn't have support for switch-case statements though.
> switch-case statements can sometimes be nice and tidy and sometimes it
> may be a horrible nightmare. But that also applies to if-elif-else
> statements. It
Sorry PEP 634 not PEP 643
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
Isn't PEP 643 for PEG grammar pattern matching? (I'm talking about switch
statements in Python)
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
How is this differs from PEP 634
(https://docs.python.org/3.10/whatsnew/3.10.html#pep-634-structural-pattern-matching)?
On 2021. 05. 04. 20:33, Shreyan Avigyan wrote:
Most of programming languages out there have switch-case statements. Python
doesn't have support for switch-case statements
13 matches
Mail list logo