Seems like I am learning more python on this list than I ever
wanted...
On 22 Okt., 15:37, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Oct 22, 2007, at 6:32 AM, klaus wrote:
>
>
>
> > Hi all,
> > I wonder why some classes/objects implement part of a list interface -
> > but without a __len__ me
On Oct 22, 2007, at 6:32 AM, klaus wrote:
>
> Hi all,
> I wonder why some classes/objects implement part of a list interface -
> but without a __len__ method. Obvious examples are:
>
> Query has __iter__ and __getitem__, both of which access the database.
> __len__ would be a nice alternative to
> -Original Message-
> From: sqlalchemy@googlegroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of klaus
> Sent: 22 October 2007 11:33
> To: sqlalchemy
> Subject: [sqlalchemy] Please add some __len__ methods
>
>
> Hi all,
> I wonder why some classes/objects implement part of a list inte