Python BUG?

Oleg Orlov orlov at diasoft.ru
Wed Jan 12 04:05:54 EST 2000


This script:

d = [1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L,
    10L, 9L, 8L, 7L, 6L, 5L, 4L, 3L, 2L, 1L]
print reduce(lambda x, y: x*x + y*y, d)

hangs up my python interpreter (on NT4).

Is it a bug or my mistake?
How about UNIX?

--
====================
Oleg Orlov
orlov at diasoft.ru





More information about the Python-list mailing list