Commit Graph

16 Commits

Author SHA1 Message Date
Senthil Kumaran
690ce9b353 Fix for issue1153027, making Py3k changes similar to fix in issue918368.
This will address:
a) urllib/ in py3k,
b) urllib in py2x is addressed by issue918368.
c) urllib2 in py2x was already addressed in Revision 43132.
2009-05-05 18:41:13 +00:00
Amaury Forgeot d'Arc
c80902eac8 follow-up of r64385: rename urllib.quote in nturl2path
and remove assertions & debugger when ssl is not present
2008-06-18 22:38:24 +00:00
Collin Winter
ce36ad8a46 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
Georg Brandl
c0b24734e0 Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
Georg Brandl
07f159de86 Bug #1378455: a problem of urllib using open_local_file 2005-12-15 21:59:00 +00:00
Fred Drake
27eebb8c76 Use string.ascii_letters instead of string.letters.
Remove unused import.
2001-07-20 18:52:02 +00:00
Skip Montanaro
78349072f7 removed __all__ from several modules 2001-02-18 03:30:53 +00:00
Eric S. Raymond
b08b2d3166 String method conversion. 2001-02-09 11:10:16 +00:00
Skip Montanaro
269b83bc05 added several more __all__ lists 2001-02-06 01:07:02 +00:00
Tim Peters
2344fae6d0 Whitespace normalization. 2001-01-15 00:50:52 +00:00
Guido van Rossum
7f91cf9a68 Add 'r' to docstrings to avoid expanded backslash escapes. (Ka-Ping Yee) 2000-05-30 13:25:35 +00:00
Guido van Rossum
54f22ed30b More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes:

Here is batch 2, as a big collection of CVS context diffs.
Along with moving comments into docstrings, i've added a
couple of missing docstrings and attempted to make sure more
module docstrings begin with a one-line summary.

I did not add docstrings to the methods in profile.py for
fear of upsetting any careful optimizations there, though
i did move class documentation into class docstrings.

The convention i'm using is to leave credits/version/copyright
type of stuff in # comments, and move the rest of the descriptive
stuff about module usage into module docstrings.  Hope this is
okay.
2000-02-04 15:10:34 +00:00
Guido van Rossum
a0fec1637b Sjoerd Mullender writes:
Pathnames of files on other hosts in the same domain
(\\host\path\to\file) are not translated correctly to URLs and back.
The URL should be something like file:////host/path/to/file.
Note that a combination of drive letter and remote host is not
possible.
1999-03-18 14:21:41 +00:00
Guido van Rossum
367ac80d3b From: Sjoerd Mullender
The filename to URL conversion didn't properly quote special
characters.
The URL to filename didn't properly unquote special chatacters.
1999-03-12 14:31:10 +00:00
Guido van Rossum
d510b72fff Allow paths without drive specifier (Jack). 1997-08-12 14:47:24 +00:00
Guido van Rossum
746ea3598a url2path for NT 1996-06-26 19:47:56 +00:00