Tuple parameter unpacking in 3.x

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue Oct 7 22:17:35 CEST 2008

Brett C.:
> There are two things to realize about the tuple unpacking that acted
> as motivation. One is supporting them in the compiler is a pain.
> ...
> Second, tuple unpacking in parameters breaks introspection horribly.

Are there ways to re-implement from scratch similar native pattern-
matching features in CPython, like ones of Closure:
Or better ones of Scala, (or even OcaML, but those are static), etc,
that avoid that pain and introspection troubles?


More information about the Python-list mailing list