Check-in [fc5214876f]
Overview
Comment: | Add `urlquote` |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fc5214876fa4a4ffe946668fd03f373e |
User & Date: | Oliver on 2017-01-22 16:43:48 |
Other Links: | manifest | tags |
Context
2017-01-22
| ||
16:45 | More special case handling on Windows: file encoding, backslashes, url quoting check-in: 4c67a494e7 user: Oliver tags: trunk | |
16:43 | Add `urlquote` check-in: fc5214876f user: Oliver tags: trunk | |
16:43 | Add osxpkg; though unused check-in: 66781c2e9d user: mario tags: trunk | |
Changes
Modified compat2and3.py from [e60cd1b086] to [76217753ec].
︙ | ︙ | |||
22 23 24 25 26 27 28 | xrange = xrange range = xrange unicode = unicode # urllib modules import urllib import urllib2 | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | xrange = xrange range = xrange unicode = unicode # urllib modules import urllib import urllib2 from urllib import quote_plus as urlencode, unquote as urldecode, quote as urlquote import urlparse import cookielib # filesys from StringIO import StringIO from gzip import GzipFile def gzip_decode(bytes): |
︙ | ︙ | |||
49 50 51 52 53 54 55 | xrange = range unicode = str unichr = chr # urllib modules import urllib.request as urllib import urllib.request as urllib2 | | | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | xrange = range unicode = str unichr = chr # urllib modules import urllib.request as urllib import urllib.request as urllib2 from urllib.parse import quote_plus as urlencode, unquote as urldecode, quote as urlquote import urllib.parse as urlparse from http import cookiejar as cookielib # filesys from io import StringIO from gzip import decompress as gzip_decode |
︙ | ︙ |