Bug in __contains__

Oleg Broytmann phd at phd.pp.ru
Wed Feb 28 11:27:41 CET 2001


On 28 Feb 2001, Siggy Brentrup wrote:
> > Python 2.0 (#1, Jan 26 2001, 15:34:20)
> > [GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
> > Type "copyright", "credits" or "license" for more information.
> > >>> 10 in xrange(10)
> > 1
> >
> >    Is it a known bug?
>
> Python 2.1a2 (#6, Feb 28 2001, 10:30:37)
> [GCC 2.95.3 20010219 (prerelease)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> 10 in xrange(10)
> 0
>
> Seems to be fixed :)

   Thanks!

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list