On 1/3/21 8:50 AM, Paul Moore wrote:

Personally, I read it and was horribly confused.

         case object{.host as host, .port as port}:
             pass

Leading periods is a big no-go for me, for all the reasons listed in the 
original thread.

I have not read the full PEP, so take this as very much a "first
impression" reaction, but I'd avoid using this syntax, both in my own
projects and in any project I contribute to. Honestly, I feel like I'd
rather see pattern matching rejected altogether than see this version
accepted.

Agreed.

--
~Ethan~
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/SO4K2WNUZDKIPYJOPVTBNXOWEBIOQWYP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to