]> granicus.if.org Git - python/commit
Fix handling of file inputs on Windows; passing them to urllib.urlopen()
authorFred Drake <fdrake@acm.org>
Tue, 26 Sep 2000 17:23:09 +0000 (17:23 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 26 Sep 2000 17:23:09 +0000 (17:23 +0000)
commit0872e0585196a894c8c2c2dbea1a0fdd68391c90
tree6c2a7553349464c5e0d17b23d5c1b6913e234119
parent1bac645d8f0d1264ac3b59ad6b4a34c543cf1885
Fix handling of file inputs on Windows; passing them to urllib.urlopen()
caused the drive letter to cause urlopen() to think it was an unrecognized
URL scheme.  This only passes system ids to urlopen() if the file does not
exist.  It works on Windows & Unix.

It should work everywhere else as well.
Lib/xml/sax/saxutils.py