diff options
author | Guido van Rossum <guido@python.org> | 1994-08-29 10:52:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-29 10:52:58 (GMT) |
commit | 3bb54487675cd28166fc7271b5788b185bcc1b63 (patch) | |
tree | 4dd685744d72cedf72db3194a8ffc8f0846d0cfb /Lib/urllib.py | |
parent | 7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29 (diff) | |
download | cpython-3bb54487675cd28166fc7271b5788b185bcc1b63.zip cpython-3bb54487675cd28166fc7271b5788b185bcc1b63.tar.gz cpython-3bb54487675cd28166fc7271b5788b185bcc1b63.tar.bz2 |
New way of generating .pyc files, thanks to Sjoerd.
urllib.py: '+' is not always safe (even though the RFC says so :-( )
whrandom.py: throw away top bits of time to avoid overflow on Mac
(where times can be negative)
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 476570b..a4a891f 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -452,7 +452,7 @@ def unquote(s): i = j+3 return res -always_safe = string.letters + string.digits + '_,.+-' +always_safe = string.letters + string.digits + '_,.-' def quote(s, safe = '/'): safe = always_safe + safe res = '' |