]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug 538827: Python open w/ MSVC6: bad error msgs.
authorTim Peters <tim.peters@gmail.com>
Mon, 8 Apr 2002 04:19:50 +0000 (04:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 8 Apr 2002 04:19:50 +0000 (04:19 +0000)
commitc4d332d7a597298c61fbc7e50167f5d98c075651
tree1a43f71290f70a84280a03ea5d7c0131e95ff24e
parente5ea439bc8f1a5a77fa0ee2c1d11b7a0ada83e9e
SF bug 538827:  Python open w/ MSVC6: bad error msgs.
open_the_file:  Some (not all) flavors of Windows set errno to EINVAL
when passed a syntactically invalid filename.  Python turned that into an
incomprehensible complaint about the mode string.  Fixed by special-casing
MSVC.
Objects/fileobject.c