Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19651
| Date | 2012-01-31 17:29 +0000 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: surprising result all (generator) (bug??) |
| References | <jg8nf2$uh6$1@dough.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5254.1328030947.27778.python-list@python.org> (permalink) |
On 31/01/2012 12:40, Neal Becker wrote: > 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 > Which version of Python?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: surprising result all (generator) (bug??) MRAB <python@mrabarnett.plus.com> - 2012-01-31 17:29 +0000
csiph-web