[Python-Dev] Std tests failing, Windows: test_builtin test_charmapcodec test_pow

Guido van Rossum guido@python.org
Sun, 07 Jan 2001 16:32:26 -0500


> I'm pretty sure the test_pow and test_charmapcodec failures aren't my doing.
> 
> test_builtin fails because raw_input() isn't stripping a trailing newline.
> I've got my own code in this area that *may* be to blame, but I don't see
> how it could be.  I note that fileobject.c's new function get_line_raw has
> the comment
> 
> /* Internal routine to get a line for raw_input():
>    strip trailing '\n', raise EOFError if EOF reached immediately
> */
> 
> but the code doesn't look for a trailing newline (let alone strip one).

My bad.  Try the latest CVS now.

--Guido van Rossum (home page: http://www.python.org/~guido/)