summaryrefslogtreecommitdiff
path: root/paste
Commit message (Collapse)AuthorAgeFilesLines
* Fix paste.util.html_quote(unicode): don't encode the string to escape itVictor Stinner2015-04-221-25/+1
|
* Fix hash_identifier() on Python 3Victor Stinner2015-04-221-1/+5
| | | | Fix paste.exceptions.serial_number_generator.hash_identifier()
* Port proxy to Python 3Victor Stinner2015-04-221-20/+26
| | | | Use Message.items() method instead of HTTPMessage.headers attribute.
* Merged in mfrobben/paste (pull request #21)Victor Stinner2015-04-2262-7361/+2958
|\ | | | | | | Fix bad reference to iterator variable
| * Fix pyflakes warningsVictor Stinner2015-04-227-10/+3
| | | | | | | | | | | | * Remove unused variables * Remove unused imports * Remove dead code
| * Fix paste.util.threadedprint.uninstall()Victor Stinner2015-04-221-2/+2
| | | | | | | | | | Rename duplicated uninstall() function to uninstall_stdin() and fix typo in variable name (_oldstin => _oldstdin).
| * Fix loop_pos.__repr__() of paste.util.looperVictor Stinner2015-04-221-1/+1
| | | | | | | | Use self.pos instead of an unknown pos variable.
| * Get parse_querystring() function directly from the paste.request module,Victor Stinner2015-04-222-3/+3
| | | | | | | | instead of using wsgilib.parse_querystring() alias.
| * Fix paste.debug.fsdiff.Snapshot._ignore_file()Victor Stinner2015-04-221-7/+0
| | | | | | | | Remove a duplicated method, keep the implementation using ignore_wildcards.
| * Fix fixture on Python 3Victor Stinner2015-04-221-23/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wsgi.input must be a binary file, not a text file * Fix fixture.TestApp.__str__() on Python 3: decode body from UTF-8 (with xmlcharrefreplace). * Fix fixture.TestResponse.goto() on Python 3: regex must use bytes, not Unicode. * Fix TestApp._check_status() on Python 3 - Decode body from UTF-8 (with xmlcharrefreplace) to format the error message. - Fix TestApp.encode_multipart() on Python 3: HTTP body must be bytes: encode lines to utf8 and use byte string literals. - Fix TestApp.post() on Python 3: default params must be bytes - Fix TestResponse.__repr__() on Python 3 - Fix TestApp on Python 3: encode params values to UTF-8 - Port TestApp._gen_request() to Python 3
| * Port paste.debug.debugapp to Python 3Victor Stinner2015-04-221-1/+1
| |
| * Remove UserDict24Victor Stinner2015-04-222-173/+2
| |
| * Remove subprocess24Victor Stinner2015-04-223-1160/+2
| |
| * Remove string24Victor Stinner2015-04-221-531/+0
| |
| * Fix some Python 3 issues in util.templateVictor Stinner2015-04-221-4/+4
| |
| * Port url module to Python 3Victor Stinner2015-04-221-6/+11
| |
| * Port util.dateinterval to Python 3Victor Stinner2015-04-221-1/+1
| |
| * Port looper_iter to Python 3Victor Stinner2015-04-221-1/+2
| |
| * Remove doctest24Victor Stinner2015-04-221-2665/+0
| |
| * Fix fileapp on Python 3Victor Stinner2015-04-221-5/+7
| | | | | | | | | | | | | | * 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 3Victor Stinner2015-04-221-1/+1
| |
| * Port test_errordocument on Python 3Victor Stinner2015-04-221-3/+10
| | | | | | | | On Python 3, encode body to UTF-8
| * Port util.ipv4 to Python 3Victor Stinner2015-04-221-5/+6
| |
| * Port intset to Python 3Victor Stinner2015-04-221-16/+20
| |
| * Fix cgitb_catcher on Python 3Victor Stinner2015-04-221-0/+4
| |
| * Port gzipper to Python 3Victor Stinner2015-04-221-3/+2
| |
| * Port errormiddleware to Python 3Victor Stinner2015-04-211-2/+10
| | | | | | | | Encode HTTP body to UTF-8
| * Fix html_unquote() on Python 3Victor Stinner2015-04-211-5/+11
| | | | | | | | | | * String must be a bytes string: replace str with six.binary_type * Port util.quoting to Python 3
| * Fix httpheaders on Python 3Victor Stinner2015-04-211-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_registryVictor Stinner2015-04-211-11/+4
| | | | | | | | Reverted change: "Don't penalize streaming applications"
| * Fix evalexception middleware on Python 3Victor Stinner2015-04-211-1/+6
| | | | | | | | | | * Encode body to UTF-8 on Python 3 * Encode log to UTF-8 on Python 3
| * Port cgiapp to Python 3Victor Stinner2015-04-211-14/+17
| | | | | | | | Use bytes, not Unicode
| * Port wsgilib to Python 3Victor Stinner2015-04-211-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 3Victor Stinner2015-04-211-6/+6
| | | | | | | | | | * Expect bytes, not Unicode * Fix ErrorWrapper on Python 3: write() parameter must be bytes
| * Port multidict to Python 3Victor Stinner2015-04-211-7/+32
| |
| * Port recursive to Python 3Victor Stinner2015-04-211-4/+4
| | | | | | | | HTTP body is bytes
| * Port datetimeutil to Python 3Victor Stinner2015-04-211-9/+8
| | | | | | | | | | * Replace string.atoi() with int() * Don't compare None with int
| * Fix WSGIResponse on Python 3Victor Stinner2015-04-211-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 3Victor Stinner2015-04-212-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 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-212-2463/+2463
| |
| * Strip trailing spacesVictor Stinner2015-04-2137-185/+185
| |
| * 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
| |
| * 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: Replace types.ClassType with six.class_typesCyril Roelandt2014-03-181-2/+2
| |