Re: gmpy and counting None

2008-10-14 Thread Robert Kern
Mensanator wrote: On Oct 14, 12:14 pm, Robert Kern <[EMAIL PROTECTED]> wrote: Mensanator wrote: On Oct 13, 5:16 pm, Robert Kern <[EMAIL PROTECTED]> wrote: Mensanator wrote: On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: Hi, I just stumbled upon the following issue (I am running Debian): $ py

Re: gmpy and counting None

2008-10-14 Thread Mensanator
On Oct 14, 12:14 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > Mensanator wrote: > > On Oct 13, 5:16 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > >> Mensanator wrote: > >>> On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: > Hi, > I just stumbled upon the following issue (I am running Debian)

Re: gmpy and counting None

2008-10-14 Thread Robert Kern
Mensanator wrote: On Oct 13, 5:16 pm, Robert Kern <[EMAIL PROTECTED]> wrote: Mensanator wrote: On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: Hi, I just stumbled upon the following issue (I am running Debian): $ python Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) [GCC 4.3.2] on linux2 Type

Re: gmpy and counting None

2008-10-14 Thread Mensanator
On Oct 13, 5:16 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > Mensanator wrote: > > On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: > >> Hi, > > >> I just stumbled upon the following issue (I am running Debian): > > >> $ python > >> Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) > >> [GCC 4.3.2] on

Re: gmpy and counting None

2008-10-13 Thread casevh
On Oct 13, 12:43 pm, <[EMAIL PROTECTED]> wrote: > Hi, > > I just stumbled upon the following issue (I am running Debian): > > $ python > Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) > [GCC 4.3.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information.>>> [2, > None].

Re: gmpy and counting None

2008-10-13 Thread Robert Kern
Mensanator wrote: On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: Hi, I just stumbled upon the following issue (I am running Debian): $ python Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.>>> [2, No

Re: gmpy and counting None

2008-10-13 Thread Mensanator
On Oct 13, 2:43 pm, <[EMAIL PROTECTED]> wrote: > Hi, > > I just stumbled upon the following issue (I am running Debian): > > $ python > Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) > [GCC 4.3.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information.>>> [2, > None].c

gmpy and counting None

2008-10-13 Thread mmanns
Hi, I just stumbled upon the following issue (I am running Debian): $ python Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [2, None].count(None) 1 >>> from gmpy import mpz >>> [mpz(2), None].count