Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | | | | * | Fix evalexception middleware on Python 3 | Victor Stinner | 2015-04-21 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Encode body to UTF-8 on Python 3 * Encode log to UTF-8 on Python 3 | |||||
| | | | | | * | Fix test_cgiapp on Python 3 | Victor Stinner | 2015-04-21 | 5 | -20/+19 | |
| | | | | | | | ||||||
| | | | | | * | Port cgiapp to Python 3 | Victor Stinner | 2015-04-21 | 1 | -14/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use bytes, not Unicode | |||||
| | | | | | * | Port wsgilib to Python 3 | Victor Stinner | 2015-04-21 | 1 | -10/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add __next__() methods to iterable classes: just add __next__ alias to next() * Replace it.next() with next(it) * Replace unicode with six.text_type * Replace str with six.binary_type * HTTP body must be bytes: use b''.join(output) instead of ''.join(output) * Fix dump_environ(): convert output to bytes on Python 3 * Fix raw_interactive() on Python 3: use BytesIO() not StringIO() for stdin/stdout/stderr | |||||
| | | | | | * | Port paste.lint to Python 3 | Victor Stinner | 2015-04-21 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Expect bytes, not Unicode * Fix ErrorWrapper on Python 3: write() parameter must be bytes | |||||
| | | | | | * | Port multidict to Python 3 | Victor Stinner | 2015-04-21 | 2 | -49/+76 | |
| | | | | | | | ||||||
| | | | | | * | Port recursive to Python 3 | Victor Stinner | 2015-04-21 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| | | | | | * | Port datetimeutil to Python 3 | Victor Stinner | 2015-04-21 | 1 | -9/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace string.atoi() with int() * Don't compare None with int | |||||
| | | | | | * | Fix WSGIResponse on Python 3 | Victor Stinner | 2015-04-21 | 2 | -11/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -14/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||||
| | | | | | * | Fix HTTPException.make_body() on Python 3 | Victor Stinner | 2015-04-21 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only encode values on Python 2: Python 3 expects text, not bytes. | |||||
| | | | | | * | Fix paste.request on Python 3 | Victor Stinner | 2015-04-21 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WSGI input must be a binary file (BytesIO), not a text file (StringIO). Add also the missing __len__() method to EnvironHeaders, it's now required on Python 3 by the MutableMapping ABC. | |||||
| | | | | | * | Port session to Python 3 | Victor Stinner | 2015-04-21 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | md5() requires bytes: on Python 3, encode text to utf-8 | |||||
| | | | | | * | Fix best_match() and desired_matches() on py3 | Victor Stinner | 2015-04-21 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | | | | | * | Convert files from file format DOS to UNIX | Victor Stinner | 2015-04-21 | 4 | -2835/+2835 | |
| | | | | | | | ||||||
| | | | | | * | Strip trailing spaces | Victor Stinner | 2015-04-21 | 52 | -225/+225 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: fix more submodules | Victor Stinner | 2014-03-19 | 17 | -56/+55 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:" | |||||
| | | | | | * | Python 3: fix paste.httpserver | Victor Stinner | 2014-03-19 | 1 | -25/+27 | |
| | | | | | | | ||||||
| | | | | | * | update more urls | Victor Stinner | 2014-03-18 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | | | | | * | Update WebOb and PEP 333 URLs | Victor Stinner | 2014-03-18 | 1 | -7/+7 | |
| | | | | | | | ||||||
| | | | | | * | Update URL of external projects | Victor Stinner | 2014-03-18 | 2 | -8/+9 | |
| | | | | | | | ||||||
| | | | | | * | Fix typo in the URL of the issue tracker | Victor Stinner | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | | | | | * | Update news.txt | Victor Stinner | 2014-03-18 | 1 | -0/+6 | |
| | | | | | | | ||||||
| | | | | | * | setup.py: paste now supports Python 3 ;-) | Victor Stinner | 2014-03-18 | 1 | -0/+1 | |
| | | | | | | | ||||||
| | | | | | * | URLMap: add missing abstract __len__ and __iter__ methods | Victor Stinner | 2014-03-18 | 1 | -0/+7 | |
| | | | | | | | ||||||
| | | | | | * | Copy the dictionary of global variables to be able to iterate over it and | Victor Stinner | 2014-03-18 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | modify global variables | |||||
| | | | | | * | 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: Add six dependency in setup.py | Cyril Roelandt | 2014-03-18 | 1 | -0/+1 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace types.ClassType with six.class_types | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace <> operator with != operator | Cyril Roelandt | 2014-03-18 | 2 | -4/+4 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace string functions with str methods | Cyril Roelandt | 2014-03-18 | 1 | -13/+13 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: fix sort | Cyril Roelandt | 2014-03-18 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use key parameter of sort() * Convert dict.items() to list, needed by Python 3 | |||||
| | | | | | * | Python 3: Replace "type(obj) is types.DictType" with "isinstance(obj, dict)" | Cyril Roelandt | 2014-03-18 | 1 | -7/+6 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace "for ... in dict.items()" with "for ... in ↵ | Cyril Roelandt | 2014-03-18 | 4 | -15/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | six.iteritems(dict)" Same change for itervalues(). | |||||
| | | | | | * | Python 3: Replace types.ClassType with six.class_types | Cyril Roelandt | 2014-03-18 | 1 | -2/+1 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace "for name, value in dict.items()" with "for name, value in ↵ | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | six.iteritems(dict)" | |||||
| | | | | | * | Python 3: Use six types for strings | Cyril Roelandt | 2014-03-18 | 11 | -37/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type) | |||||
| | | | | | * | Python 3: Replace ord() with six.byte2int() | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Replace unicode with six.text_type and str with six.binary_type | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: Use an explicit floor division | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: replace (int, long) with six.integer_types | Cyril Roelandt | 2014-03-18 | 1 | -1/+3 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: adjust import for email module, new path works with Python 2 and ↵ | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 | |||||
| | | | | | * | Python 3: Add __next__() alias to next() method | Cyril Roelandt | 2014-03-18 | 2 | -0/+3 | |
| | | | | | | | ||||||
| | | | | | * | Python 3: use new style of raise, replace "raise class, args" with "raise ↵ | Cyril Roelandt | 2014-03-18 | 6 | -15/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | class(args)" | |||||
| | | | | | * | Python 3: Replace iterator.next() with six.next(iterator) | Cyril Roelandt | 2014-03-18 | 2 | -2/+4 | |
| | | | | | | |