summaryrefslogtreecommitdiffstats
path: root/Lib/urlparse.py
Commit message (Collapse)AuthorAgeFilesLines
* Easy optimizations of urlparse for the common case of parsing an http URL.Jeremy Hylton1998-09-021-8/+33
| | | | | | | 1. use dict.get instead of try/except KeyError 2. if the url scheme is 'http' then avoid the series of 'if var in [someseq]:'. instead, inline all of the code. 3. find = string.find
* fix typo in keyword argument 'allow_frament' should be 'allow_fragment'Jeremy Hylton1998-08-251-6/+6
|
* Add Gopher to list of protocols that support query strings.Guido van Rossum1998-01-191-0/+1
|
* Patch my Marc Lemburg to fix urljoin("/a", "..") and urljoin("/a", "..#1").Guido van Rossum1997-12-031-1/+3
|
* After some discussion with Jeremy and Fred, decided to limit theGuido van Rossum1997-07-141-1/+1
| | | | | | | | | default urlparse cache size to 20 instead of 2000. The main use of the cache seems to be to gain some speed in Grail, which is calling urljoin with the same base for each anchor. 2000 is a bit too big for Jeremy, who doesn't need the cache at all. 20 should keep at least 95% of the Grail speedup while wasting an insignificant amount of memory in Jeremy's application.
* Test urlparse cache with try/except instead of has_key.Guido van Rossum1997-07-111-1/+3
| | | | This makes it thread-safe again.
* Added characteristics of shttp, https, and snews.Guido van Rossum1997-01-021-3/+12
|
* Crude but effective hack to clear the parser cache every so often.Guido van Rossum1996-12-271-0/+4
| | | | (Fred Drake.)
* optimizations due to Fred Drake; added urldefrag() functionGuido van Rossum1996-05-281-18/+35
|
* added hdl protocol propertiesGuido van Rossum1996-05-281-3/+3
|
* Update reference (it's now RFC 1808); added http to list of protocolsGuido van Rossum1996-03-291-9/+3
| | | | that use parameters.
* remove file: from list of protocols taking hostGuido van Rossum1995-08-101-1/+1
|
* subtle changes to relative rurl joinsGuido van Rossum1995-08-041-3/+3
|
* Add hacks for switching protocol and path but leaving host unchangedGuido van Rossum1994-12-301-0/+12
|
* New tty/pty modules by Steen; new urlparser.Guido van Rossum1994-09-121-0/+195