Re: [Python-Dev] [Python-3000] PEP 3113 (Removal of Tuple Parameter Unpacking)

March 5, 2007
6:33 a.m.
[Greg Ewing]
Writing code that depends on long sequences having things in particular positions is an anti-pattern,
Seems like you're against positional parameters in general. What makes argument unpacking in a function definition different that other positional parameter use cases. Until csv and sql start returning records with field name attributes instead of tuples, we'll need something like we have now. Also attribute access has performance issues compared to tuple unpacking (sad fact of life). Raymond
6678
Age (days ago)
6678
Last active (days ago)
0 comments
1 participants
participants (1)
-
Raymond Hettinger