[New-bugs-announce] [issue2491] io.open() handles errors differently on different platforms
report at bugs.python.org
Wed Mar 26 05:24:19 CET 2008
New submission from Neal Norwitz <nnorwitz at gmail.com>:
The attached file has a snapshot of the python.org homepage that was
causing test_urllibnet to fail on some platforms (2 sparc, and ia64 at
least), but not other platforms. This should be handled consistently.
I don't know if there are really errors in the attached web page or not.
The problem occurs at byte offset 13259:
'r - Journ\xc3\xa9es Python'
I suppose that's invalid for ASCII, but valid UTF-8.
See r61921. There is a problem that the API for fdopen doesn't accept
errors, encoding, etc. so it's problematic to handle this condition.
components: Library (Lib)
title: io.open() handles errors differently on different platforms
versions: Python 3.0
Added file: http://bugs.python.org/file9864/py-org.html
Tracker <report at bugs.python.org>
More information about the New-bugs-announce