returning unordered keyword arguments from a function (WAS: Are multiple return values really harmful?)

Steven Bethard steven.bethard at gmail.com
Fri Nov 19 18:21:37 CET 2004


Hung Jung Lu wrote:
> 
>>>Steven Bethard wrote:
>>>>>>>r = object(year=2004, month=11, day=18)
>
[snip a bunch of good arguments for including generic objects]

It does sound like there's some support for putting something like this 
into the language.  My feeling is that the right place to start would be 
to put such an object into the collections module.  (If necessary, it 
could get moved to builtins later.)

Is this something a PEP should be written for?

Steve



More information about the Python-list mailing list