surprising result all (generator) (bug??)
Neal Becker
ndbecker2 at gmail.com
Tue Jan 31 07:40:02 EST 2012
More information about the Python-list mailing list
Tue Jan 31 07:40:02 EST 2012
- Previous message (by thread): Debugging / profiling subscripts
- Next message (by thread): surprising result all (generator) (bug??)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was just bitten by this unexpected behavior: In [24]: all ([i > 0 for i in xrange (10)]) Out[24]: False In [25]: all (i > 0 for i in xrange (10)) Out[25]: True
- Previous message (by thread): Debugging / profiling subscripts
- Next message (by thread): surprising result all (generator) (bug??)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list