Pythonwin 139 BUG/oddity
MarkH at ActiveState.com
Thu May 31 23:28:38 EDT 2001
Robin Becker wrote:
> I get this at startup for some reason. But not every time. Seems that if
> I delete the .pyc files it happens.
> PythonWin 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on
> win32.Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com)
> - see 'Help/About PythonWin' for further copyright information.
>>>>C:\Python\Pythonwin\pywin\framework\stdin.py:0: SyntaxWarning: name
> 'get_input_line' is assigned to before global declaration
It can safely be ignored. The "problem" is that I used a "global"
statement in the top-level scope, and the new warnings framework deigns
this worthy of complaint.
A fix has already been checked in, and will appear in the next release.
More information about the Python-list