py3k concerns. An example

Ben Finney bignose+hates-spam at benfinney.id.au
Sun Apr 27 21:43:10 EDT 2008


Aaron Watters <aaron.watters at gmail.com> writes:

> I think it's outrageous to change the basic usage for things like
> dictionary.keys() when it would be so easy to leave the old
> definition and add a new method like dictionary.keySet().

Except that name would be outrageously non-conformant with PEP 8.

-- 
 \     "Yesterday I parked my car in a tow-away zone. When I came back |
  `\                   the entire area was missing."  -- Steven Wright |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list