summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | | * Fix WSGIResponse on Python 3Victor Stinner2015-04-212-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 3Victor Stinner2015-04-213-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HTTP body must be bytes
| | | | | | * Port paste.auth to Python 3Victor Stinner2015-04-214-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 3Victor Stinner2015-04-218-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HTTP body must be bytes
| | | | | | * Fix HTTPException.make_body() on Python 3Victor Stinner2015-04-211-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only encode values on Python 2: Python 3 expects text, not bytes.
| | | | | | * Fix paste.request on Python 3Victor Stinner2015-04-211-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 3Victor Stinner2015-04-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | md5() requires bytes: on Python 3, encode text to utf-8
| | | | | | * Fix best_match() and desired_matches() on py3Victor Stinner2015-04-211-2/+2
| | | | | | |
| | | | | | * Convert files from file format DOS to UNIXVictor Stinner2015-04-214-2835/+2835
| | | | | | |
| | | | | | * Strip trailing spacesVictor Stinner2015-04-2152-225/+225
| | | | | | |
| | | | | | * Python 3: fix more submodulesVictor Stinner2014-03-1917-56/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:"
| | | | | | * Python 3: fix paste.httpserverVictor Stinner2014-03-191-25/+27
| | | | | | |
| | | | | | * update more urlsVictor Stinner2014-03-181-2/+2
| | | | | | |
| | | | | | * Update WebOb and PEP 333 URLsVictor Stinner2014-03-181-7/+7
| | | | | | |
| | | | | | * Update URL of external projectsVictor Stinner2014-03-182-8/+9
| | | | | | |
| | | | | | * Fix typo in the URL of the issue trackerVictor Stinner2014-03-181-1/+1
| | | | | | |
| | | | | | * Update news.txtVictor Stinner2014-03-181-0/+6
| | | | | | |
| | | | | | * setup.py: paste now supports Python 3 ;-)Victor Stinner2014-03-181-0/+1
| | | | | | |
| | | | | | * URLMap: add missing abstract __len__ and __iter__ methodsVictor Stinner2014-03-181-0/+7
| | | | | | |
| | | | | | * Copy the dictionary of global variables to be able to iterate over it andVictor Stinner2014-03-182-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | modify global variables
| | | | | | * Python 3: convert dict.keys() result to list to get the first itemCyril Roelandt2014-03-181-2/+2
| | | | | | |
| | | | | | * Python 3: load xrange from six.movesCyril Roelandt2014-03-181-1/+2
| | | | | | |
| | | | | | * Python 3: Add six dependency in setup.pyCyril Roelandt2014-03-181-0/+1
| | | | | | |
| | | | | | * Python 3: Replace types.ClassType with six.class_typesCyril Roelandt2014-03-181-2/+2
| | | | | | |
| | | | | | * Python 3: Replace <> operator with != operatorCyril Roelandt2014-03-182-4/+4
| | | | | | |
| | | | | | * Python 3: Replace string functions with str methodsCyril Roelandt2014-03-181-13/+13
| | | | | | |
| | | | | | * Python 3: fix sortCyril Roelandt2014-03-182-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 Roelandt2014-03-181-7/+6
| | | | | | |
| | | | | | * Python 3: Replace "for ... in dict.items()" with "for ... in ↵Cyril Roelandt2014-03-184-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | six.iteritems(dict)" Same change for itervalues().
| | | | | | * Python 3: Replace types.ClassType with six.class_typesCyril Roelandt2014-03-181-2/+1
| | | | | | |
| | | | | | * Python 3: Replace "for name, value in dict.items()" with "for name, value in ↵Cyril Roelandt2014-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | six.iteritems(dict)"
| | | | | | * Python 3: Use six types for stringsCyril Roelandt2014-03-1811-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 Roelandt2014-03-181-1/+1
| | | | | | |
| | | | | | * Python 3: Replace unicode with six.text_type and str with six.binary_typeCyril Roelandt2014-03-181-2/+2
| | | | | | |
| | | | | | * Python 3: Use an explicit floor divisionCyril Roelandt2014-03-181-1/+1
| | | | | | |
| | | | | | * Python 3: replace (int, long) with six.integer_typesCyril Roelandt2014-03-181-1/+3
| | | | | | |
| | | | | | * Python 3: adjust import for email module, new path works with Python 2 and ↵Cyril Roelandt2014-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3
| | | | | | * Python 3: Add __next__() alias to next() methodCyril Roelandt2014-03-182-0/+3
| | | | | | |
| | | | | | * Python 3: use new style of raise, replace "raise class, args" with "raise ↵Cyril Roelandt2014-03-186-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | class(args)"
| | | | | | * Python 3: Replace iterator.next() with six.next(iterator)Cyril Roelandt2014-03-182-2/+4
| | | | | | |
| | | | | | * Python 3: Use absolute import instead of relative importCyril Roelandt2014-03-185-5/+5
| | | | | | |
| | | | | | * Python 3: Replace exec statement with six.exec_() to support Python 2 and ↵Cyril Roelandt2014-03-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3
| | | | | | * Python 3: use six.reraise() to re-raise an exception with the tracebackCyril Roelandt2014-03-187-11/+18
| | | | | | |
| | | | | | * Python 3: add parenthesis to print() to support Python 2 and Python 3Cyril Roelandt2014-03-1815-60/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use also "from __future__ import print_function".
| | | | | | * Python 3: Add b prefix to literal binary stringsCyril Roelandt2014-03-181-1/+1
| | | | | | |
| | | | | | * Python 3: Replace "dict.has_key(key)" with "key in dict"Cyril Roelandt2014-03-188-14/+14
| | | | | | |
| | | | | | * Python 3: Replace basestring with six.string_typesCyril Roelandt2014-03-186-8/+12
| | | | | | |
| | | | | | * Python 3: don't use tuples in function prototypeCyril Roelandt2014-03-183-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unpack explicitly in the body of the function
| | | | | | * Python 3: Replace "except Exception, exc" with "except Exception as exc:"Cyril Roelandt2014-03-1816-26/+26
| | | | | | |
| | | | | | * Python 3: use new names of standard library modulesCyril Roelandt2014-03-1835-104/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "try/except ImportError" to try Python 2 and Python 3 names.