Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There are very, very few breaking changes within Python 3.

But will structural pattern matching be back-ported, though?

Certainly an incompatibility, if not a breaking change per se.



GP means there are very few backwards-incompatible changes in new releases. There are plenty of forwards-incompatible ones, though.


How is pattern matching a breaking change? If your code doesn't have it how would it break?


Some people might mistakenly assume that "match" and "case" are now hard keywords, which would of course break lots of code.

But they are soft keywords, so there's no issue.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: