[Python-Dev] x.len() instead of len(x) in Py3.0
Oleg Broytmann
phd at mail2.phd.pp.ru
Sun Mar 5 20:17:34 CET 2006
More information about the Python-Dev mailing list
Sun Mar 5 20:17:34 CET 2006
- Previous message: [Python-Dev] .len() instead of __len__() (was: iterator API in Py3.0)
- Next message: [Python-Dev] New Future Keywords
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Mar 05, 2006 at 06:48:22PM +0000, Neil Schemenauer wrote: > Oleg Broytmann <phd at oper.phd.pp.ru> wrote: > > What are disadvantages of a direct .len() instead of .__len__()? > > I can think of a few arguments against getting rid of double > underscores in general. The discussion is about moving from len(sequence) to sequence.len(), not from __len__() to .len(). Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
- Previous message: [Python-Dev] .len() instead of __len__() (was: iterator API in Py3.0)
- Next message: [Python-Dev] New Future Keywords
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list