Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix fileapp on Python 3 | Victor Stinner | 2015-04-22 | 1 | -21/+30 |
| | | | | | | | * Don't compare None with int * Add __next__() method (alias to next()). * HTTP body must be bytes * Don't use string.letters but an hardcoded string to not depend on the locale. | ||||
* | Fix grantip on Python 3 | Victor Stinner | 2015-04-22 | 1 | -8/+11 |
| | |||||
* | Fix test_config on Python 3 | Victor Stinner | 2015-04-22 | 1 | -26/+48 |
| | | | | Reset config after each test | ||||
* | Port test_errordocument on Python 3 | Victor Stinner | 2015-04-22 | 1 | -6/+6 |
| | | | | On Python 3, encode body to UTF-8 | ||||
* | Fix cgitb_catcher on Python 3 | Victor Stinner | 2015-04-22 | 1 | -2/+5 |
| | |||||
* | Port gzipper to Python 3 | Victor Stinner | 2015-04-22 | 1 | -5/+5 |
| | |||||
* | Fix test_cgiapp on Python 3 | Victor Stinner | 2015-04-21 | 5 | -20/+19 |
| | |||||
* | Port multidict to Python 3 | Victor Stinner | 2015-04-21 | 1 | -42/+44 |
| | |||||
* | Port recursive to Python 3 | Victor Stinner | 2015-04-21 | 1 | -2/+2 |
| | | | | HTTP body is bytes | ||||
* | Fix test_registry on Python 3 | Victor Stinner | 2015-04-21 | 1 | -9/+27 |
| | | | | HTTP body must be bytes | ||||
* | Fix test_request_form on Python 3 | Victor Stinner | 2015-04-21 | 1 | -3/+3 |
| | | | | | * wsgi.input must be a binary file, not a text file * HTTP body must be bytes | ||||
* | Fix WSGIResponse on Python 3 | Victor Stinner | 2015-04-21 | 1 | -9/+10 |
| | | | | | | | | | | | HTTP body must be bytes. Don't check if __iter__() method to check if content is a list or tuple, because bytes and str now have this method on Python 3. Instead, check explicitly for bytes and str types using the six module. Port wsgiwrappers test to Python 3, fix bytes/unicode issues: * HTTP body must be bytes * Filenames are native strings, request ensures that filenames are unicode | ||||
* | Fix request, session and urlmap tests on Python 3 | Victor Stinner | 2015-04-21 | 3 | -13/+25 |
| | | | | HTTP body must be bytes | ||||
* | Port paste.auth to Python 3 | Victor Stinner | 2015-04-21 | 2 | -3/+11 |
| | | | | | | * md5() and hmac expects bytes: on Python 3, encode text to utf-8 * Don't compare None with int * HTTP body must be bytes | ||||
* | Fix urlparser tests on Python 3 | Victor Stinner | 2015-04-21 | 8 | -19/+30 |
| | | | | HTTP body must be bytes | ||||
* | Convert files from file format DOS to UNIX | Victor Stinner | 2015-04-21 | 2 | -372/+372 |
| | |||||
* | Strip trailing spaces | Victor Stinner | 2015-04-21 | 15 | -40/+40 |
| | |||||
* | Python 3: convert dict.keys() result to list to get the first item | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 |
| | |||||
* | Python 3: load xrange from six.moves | Cyril Roelandt | 2014-03-18 | 1 | -1/+2 |
| | |||||
* | Python 3: Replace "for ... in dict.items()" with "for ... in ↵ | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 |
| | | | | | | six.iteritems(dict)" Same change for itervalues(). | ||||
* | Python 3: Use six types for strings | Cyril Roelandt | 2014-03-18 | 1 | -8/+9 |
| | | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type) | ||||
* | Python 3: use new style of raise, replace "raise class, args" with "raise ↵ | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 |
| | | | | class(args)" | ||||
* | Python 3: Use absolute import instead of relative import | Cyril Roelandt | 2014-03-18 | 2 | -2/+2 |
| | |||||
* | Python 3: add parenthesis to print() to support Python 2 and Python 3 | Cyril Roelandt | 2014-03-18 | 9 | -17/+17 |
| | | | | Use also "from __future__ import print_function". | ||||
* | Python 3: Replace "dict.has_key(key)" with "key in dict" | Cyril Roelandt | 2014-03-18 | 1 | -3/+3 |
| | |||||
* | Python 3: Replace "except Exception, exc" with "except Exception as exc:" | Cyril Roelandt | 2014-03-18 | 2 | -3/+3 |
| | |||||
* | Python 3: use new names of standard library modules | Cyril Roelandt | 2014-03-18 | 6 | -11/+29 |
| | | | | Use "try/except ImportError" to try Python 2 and Python 3 names. | ||||
* | allow strings and lists to be used in cookie tokens | Kristian Kvilekval | 2012-10-12 | 63 | -0/+3145 |