[ANN] screensaver

Gerhard Häring gerhard.haering at gmx.de
Wed Oct 2 02:08:59 EDT 2002


Chris Gonnerman wrote in comp.lang.python:
>> http://home.hccnet.nl/a.vredegoor/screensaver/

> Tried it (Win98, Python 2.1), didn't work:

That's what you get from using legacy software ;-)

> screensaver.py:32: SyntaxWarning: local name 'master' in '__init__' shadows
> use
> of 'master' as global in nested scope 'lambda'

from __future__ import nested_scopes to the rescue.

>     self.n = 2**100
> OverflowError: integer exponentiation

The automatic conversion to long was new in 2.2. Looks like the
screensaver app wasn't tested on Python 2.1.

-- Gerhard



More information about the Python-list mailing list