It's suspect, please file a bug. Thanks for noticing!
On Wed, Jul 9, 2008 at 7:49 AM, Carl Johnson <[EMAIL PROTECTED]> wrote:
> Python 3.0a5 (r30a5:62856, May 10 2008, 10:34:28)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
On Wed, Jul 09, 2008, Carl Johnson wrote:
>
> Python 3.0a5 (r30a5:62856, May 10 2008, 10:34:28)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> def f(x):
> ... if x > 5: raise StopIteration
> ...
> >>> [x for x in range
Python 3.0a5 (r30a5:62856, May 10 2008, 10:34:28)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def f(x):
... if x > 5: raise StopIteration
...
>>> [x for x in range(100) if not f(x)]
Traceback (most recent call last):
Fi