3 Jan
2021
3 Jan
'21
11:57 p.m.
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~