]> granicus.if.org Git - python/commit
SF bug 538827: Python open w/ MSVC6: bad error msgs.
authorTim Peters <tim.peters@gmail.com>
Mon, 8 Apr 2002 04:13:12 +0000 (04:13 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 8 Apr 2002 04:13:12 +0000 (04:13 +0000)
commit2ea9111cf17db465ce0a32d779dd20da87824e44
tree30418a1f63dd8819321bd024dbf4ea1a2151b7d4
parent0986d8250f7ae4019c3e5b5c934dc0fd55f2b8de
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