Small bug (assertion error) in PythonWin

Carlos Ribeiro cribeiro at
Sat May 5 18:24:41 CEST 2001

Hi. That's my bug description:

I was editing a new script (only two lines inserted). I called the help to 
check some syntax information. When I switched back to the Pythonwin 
environment, I just typed the import line, and pressed <enter>, when I got:

 >>> Firing event '<<newline-and-indent>>' failed.
Traceback (most recent call last):
   File "F:\Python21\Pythonwin\pywin\scintilla\", line 141, in fire
     rc = apply(binding.handler, args)
   File "F:\Python21\Pythonwin\pywin\idle\", line 262, in 
   File "F:\Python21\Pythonwin\pywin\idle\", line 115, in set_str
     assert len(str) == 0 or str[-1] == '\n'

It was not a fatal error. Anyway, assertions are here to signal a problem, 
isn't? My version information is:

PythonWin 2.1 (#15, Apr 23 2001, 18:00:35) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2001 Mark Hammond (MarkH at - see 
'Help/About PythonWin' for further copyright information.

Carlos Ribeiro

More information about the Python-list mailing list