Commit df9e752
Marcin Kościelnicki
Pass str/bytes instead of unicode/str to urllib.quote
On Python 2, passing unicode as the second argument to urllib.quote is a very bad idea - http://bugs.python.org/issue23885
On Python 3, both b'' and '' are fine.1 parent 9895b76 commit df9e752
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments