| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | Port util.ipv4 to Python 3 | Victor Stinner | 2015-04-22 | 1 | -5/+6 | |
| | | | | | ||||||
| | * | | | Port intset to Python 3 | Victor Stinner | 2015-04-22 | 1 | -16/+20 | |
| | | | | | ||||||
| | * | | | Fix cgitb_catcher on Python 3 | Victor Stinner | 2015-04-22 | 1 | -0/+4 | |
| | | | | | ||||||
| | * | | | Port gzipper to Python 3 | Victor Stinner | 2015-04-22 | 1 | -3/+2 | |
| | | | | | ||||||
| | * | | | Port errormiddleware to Python 3 | Victor Stinner | 2015-04-21 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | Encode HTTP body to UTF-8 | |||||
| | * | | | Fix html_unquote() on Python 3 | Victor Stinner | 2015-04-21 | 1 | -5/+11 | |
| | | | | | | | | | | | | | | | | | | | | | * String must be a bytes string: replace str with six.binary_type * Port util.quoting to Python 3 | |||||
| | * | | | Fix httpheaders on Python 3 | Victor Stinner | 2015-04-21 | 1 | -13/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Call list.sort() with a key function instead of a compare function. * Fix FakeRequest in httpheaders on Python 3: urllib.request now expects properties, not getters (get_xxx() methods). | |||||
| | * | | | Revert changeset 9f19797dffaa to fix test_registry | Victor Stinner | 2015-04-21 | 1 | -11/+4 | |
| | | | | | | | | | | | | | | | | | Reverted change: "Don't penalize streaming applications" | |||||
| | * | | | 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 | |||||
| | * | | | 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 | 1 | -7/+32 | |
| | | | | | ||||||
| | * | | | Port recursive to Python 3 | Victor Stinner | 2015-04-21 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | HTTP body is 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 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| | * | | | Port paste.auth to Python 3 | Victor Stinner | 2015-04-21 | 2 | -11/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 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 | 2 | -2463/+2463 | |
| | | | | | ||||||
| | * | | | Strip trailing spaces | Victor Stinner | 2015-04-21 | 37 | -185/+185 | |
| | |/ / | ||||||
| * | | | Fix bad reference to iterator variable | Matthew Robben | 2015-01-16 | 1 | -1/+1 | |
| |/ / | ||||||
| * | | 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 | |
| | | | ||||||
| * | | 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: 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 | 3 | -13/+15 | |
| | | | | | | | | | | | | | 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 | 10 | -29/+42 | |
| | | | | | | | | | | | * 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 | 5 | -14/+13 | |
| | | | | | | | | | class(args)" | |||||
| * | | Python 3: Replace iterator.next() with six.next(iterator) | Cyril Roelandt | 2014-03-18 | 2 | -2/+4 | |
| | | | ||||||
| * | | Python 3: Use absolute import instead of relative import | Cyril Roelandt | 2014-03-18 | 3 | -3/+3 | |
| | | | ||||||
| * | | Python 3: Replace exec statement with six.exec_() to support Python 2 and ↵ | Cyril Roelandt | 2014-03-18 | 1 | -1/+2 | |
| | | | | | | | | | Python 3 | |||||
| * | | Python 3: use six.reraise() to re-raise an exception with the traceback | Cyril Roelandt | 2014-03-18 | 7 | -11/+18 | |
| | | | ||||||
| * | | Python 3: add parenthesis to print() to support Python 2 and Python 3 | Cyril Roelandt | 2014-03-18 | 6 | -43/+48 | |
| | | | | | | | | | Use also "from __future__ import print_function". | |||||
| * | | Python 3: Add b prefix to literal binary strings | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 | |
| | | | ||||||
