6 ms·
Take a look at the PEP - https://www.python.org/dev/peps/pep-0617/ https://www.python.org/dev/peps/pep-0617/
by xrisk 6y ago
Take a look at the PEP - https://www.python.org/dev/peps/pep-0617/ https://www.python.org/dev/peps/pep-0617/
- pizza234 6y agoI'm aware of that, but I was curious about real-world effects (the PEP is mostly theoretical).
- coldtea 6y agoThe real world effects, aside from a little slower parsing speed iirc, would only be noticed by the compiler / parser writers. Mainly making it easier to do syntax extensions... For Python devs there will be no real-world effects...
- pansa2 6y ago> Mainly making it easier to do syntax extensions... Yes, AFAICT the main reason for the parser change is to enable the pattern matching feature [0] that’s likely coming in 3.10. [0] https://www.python.org/dev/peps/pep-0634/ https://www.python.org/dev/peps/pep-0634/