[Python-ideas] Match statement brainstorm

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 28 04:47:58 EDT 2016


Ethan Furman wrote:
> Meaning we can *only* match on constructor arguments?  What about 
> attributes that are not set in the constructor, are we just out of luck 
> for those?

No, keyword pattern args should probably match either
keyword constructor args or attributes.

-- 
Greg


More information about the Python-ideas mailing list