summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Python 3: use compatible print syntax in example textpy3kNils Philippsen2015-11-121-2/+2
|
* Python 3: let html_quote() and url() always return the same typeNils Philippsen2015-11-121-4/+4
| | | | Mixing binary and text types causes errors later on.
* Python 3: ignore exception details in doctestsNils Philippsen2015-09-101-1/+4
| | | | Exception details are formatted differently between Python 2 and 3.
* Python 3: dict.items() doesn't return a list anymoreNils Philippsen2015-11-122-4/+3
| | | | | Use sorted() instead, which works on lists as well as dict_items objects.
* Python 3: avoid spurious warningsNils Philippsen2015-09-091-1/+1
| | | | | The dict.has_keys() method doesn't exist anymore in python 3, check if the locals() object has a .keys() method instead.
* Python 3: add workarounds for cgi.FieldStorageNils Philippsen2015-08-201-1/+58
| | | | | | | cgi.FieldStorage keeps some keys as str, some as the repr() of the byte-encoded key, duh. Fixes (well...): tests.test_cgiapp.test_form
* Python 3: Use the same python interpreter for CGI scripts.Nils Philippsen2015-08-201-0/+23
| | | | Fixes tests.test_cgiapp
* Python 3: Don't mangle strangely encoded inputNils Philippsen2015-08-192-3/+11
| | | | | | | | In Python 3, cgi.FieldStorage needs to know about encodings like shiftjis in order to decode it properly (in Python 2 it's simply not decoded at all). Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
* Python 3: Always encode params if passed as text typesNils Philippsen2015-08-191-2/+2
| | | | Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
* Python 3: App must always return binary type.Nils Philippsen2015-08-19230-0/+41410
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset