Commit 62b4c35
committed
allow mixed string type inputs to misc urllib.parse.* functions
...eg urlparse, urlunparse, urlsplit, urlunsplit, urljoin, urldefrag, and parse_qsl.
fixes #273.
the original bug result in this kind of exception:
```
Traceback (most recent call last):
...
File ".../future/backports/urllib/parse.py", line 387, in urlunparse
_coerce_args(*components))
File ".../future/backports/urllib/parse.py", line 115, in _coerce_args
raise TypeError("Cannot mix str and non-str arguments")
TypeError: Cannot mix str and non-str arguments
```1 parent fdd5eeb commit 62b4c35
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments