[issue8801] Inconsistency in behaviour of urllib and urllib2 with file:// URLs

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: There were differing behaviors in the way urllib and urllib2 was handling certain kind of file:// urls which led to this error. I just made them consistent with the fix in r82780 and merged into branches. Now, this Exception won't be thrown at the file-open

[issue8801] Inconsistency in behaviour of urllib and urllib2 with file:// URLs

2010-05-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted ___ Python tracker ___ ___ Python-bug

[issue8801] Inconsistency in behaviour of urllib and urllib2 with file:// URLs

2010-05-24 Thread Vinay Sajip
New submission from Vinay Sajip : I encountered what seems like an incompatibility between urllib and urllib2 in the way they handle file:// URLs. Here's a console session to illustrate: vinay eta-karmic:/tmp$ echo Hello, world! >hello.txt vinay eta-karmic:/tmp$ cat hello.txt Hello, world! v