Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Python 3: let html_quote() and url() always return the same type | Nils Philippsen | 2015-11-12 | 1 | -4/+4 |
| | | | | Mixing binary and text types causes errors later on. | ||||
* | Python 3: dict.items() doesn't return a list anymore | Nils Philippsen | 2015-11-12 | 1 | -2/+1 |
| | | | | | Use sorted() instead, which works on lists as well as dict_items objects. | ||||
* | replace ``has_key`` method to ``in`` operator #9fix-has_key | aodag | 2015-05-02 | 1 | -1/+1 |
| | |||||
* | Revert change on paste.util.quoting.html_quote() | Victor Stinner | 2015-04-23 | 1 | -1/+4 |
| | | | | | On Python 2, html_quote(unicode) returns again bytes to restore backward compatibility. | ||||
* | Fix paste.util.html_quote(unicode): don't encode the string to escape it | Victor Stinner | 2015-04-22 | 1 | -25/+1 |
| | |||||
* | Fix pyflakes warnings | Victor Stinner | 2015-04-22 | 2 | -3/+0 |
| | | | | | | * Remove unused variables * Remove unused imports * Remove dead code | ||||
* | Fix paste.util.threadedprint.uninstall() | Victor Stinner | 2015-04-22 | 1 | -2/+2 |
| | | | | | Rename duplicated uninstall() function to uninstall_stdin() and fix typo in variable name (_oldstin => _oldstdin). | ||||
* | Fix loop_pos.__repr__() of paste.util.looper | Victor Stinner | 2015-04-22 | 1 | -1/+1 |
| | | | | Use self.pos instead of an unknown pos variable. | ||||
* | Remove UserDict24 | Victor Stinner | 2015-04-22 | 1 | -167/+0 |
| | |||||
* | Remove subprocess24 | Victor Stinner | 2015-04-22 | 1 | -1152/+0 |
| | |||||
* | Remove string24 | Victor Stinner | 2015-04-22 | 1 | -531/+0 |
| | |||||
* | Fix some Python 3 issues in util.template | Victor Stinner | 2015-04-22 | 1 | -4/+4 |
| | |||||
* | Port util.dateinterval to Python 3 | Victor Stinner | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | Port looper_iter to Python 3 | Victor Stinner | 2015-04-22 | 1 | -1/+2 |
| | |||||
* | Remove doctest24 | Victor Stinner | 2015-04-22 | 1 | -2665/+0 |
| | |||||
* | 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 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 | ||||
* | Port multidict to Python 3 | Victor Stinner | 2015-04-21 | 1 | -7/+32 |
| | |||||
* | 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 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 | 9 | -20/+20 |
| | |||||
* | Python 3: fix more submodules | Victor Stinner | 2014-03-19 | 5 | -15/+14 |
| | | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:" | ||||
* | 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 | 1 | -2/+3 |
| | | | | | * Use key parameter of sort() * Convert dict.items() to list, needed by Python 3 | ||||
* | Python 3: Replace "for ... in dict.items()" with "for ... in ↵ | Cyril Roelandt | 2014-03-18 | 1 | -8/+9 |
| | | | | | | six.iteritems(dict)" Same change for itervalues(). | ||||
* | Python 3: Use six types for strings | Cyril Roelandt | 2014-03-18 | 4 | -13/+21 |
| | | | | | * 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 | 2 | -7/+7 |
| | | | | class(args)" | ||||
* | Python 3: use six.reraise() to re-raise an exception with the traceback | Cyril Roelandt | 2014-03-18 | 2 | -4/+6 |
| | |||||
* | Python 3: add parenthesis to print() to support Python 2 and Python 3 | Cyril Roelandt | 2014-03-18 | 3 | -27/+27 |
| | | | | Use also "from __future__ import print_function". | ||||
* | Python 3: don't use tuples in function prototype | Cyril Roelandt | 2014-03-18 | 1 | -1/+3 |
| | | | | Unpack explicitly in the body of the function | ||||
* | Python 3: Replace "except Exception, exc" with "except Exception as exc:" | Cyril Roelandt | 2014-03-18 | 3 | -4/+4 |
| | |||||
* | Python 3: use new names of standard library modules | Cyril Roelandt | 2014-03-18 | 4 | -12/+16 |
| | | | | Use "try/except ImportError" to try Python 2 and Python 3 names. | ||||
* | Just a bit more paranoia in quoting comments, though I wasn't able to ↵ | Ian Bicking | 2010-09-14 | 1 | -1/+8 |
| | | | | reproduce any actual issue | ||||
* | Coerce thread id to a long, might fix problems in Ubuntu: ↵ | Ian Bicking | 2010-09-02 | 1 | -3/+3 |
| | | | | http://trac.pythonpaste.org/pythonpaste/ticket/416 | ||||
* | Typo | Christoph Zwerschke | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | Added some more test cases to test_mimeparse that I have found here: | Christoph Zwerschke | 2010-08-19 | 1 | -4/+6 |
| | | | | | http://code.google.com/p/mimeparse/source/browse/trunk/testdata.json Also added a link to the project upstream. | ||||
* | Minor simplification. | Christoph Zwerschke | 2010-08-19 | 1 | -8/+4 |
| | |||||
* | Added unittests for util.mimeparse and made the module more robust and ↵ | Christoph Zwerschke | 2010-08-19 | 1 | -49/+65 |
| | | | | | | somewhat faster. This also closes tickets #290, #330, #370 and #381. | ||||
* | add a missing desired_matches function to mimeparse (was removed upstream, ↵ | Ian Bicking | 2010-06-23 | 1 | -11/+34 |
| | | | | but still used in paste) | ||||
* | Fix XSS attacks as reported by Tim Wintle | Ian Bicking | 2010-06-15 | 1 | -0/+7 |
| | |||||
* | update mimeparse | Ian Bicking | 2010-03-31 | 1 | -97/+39 |
| | |||||
* | remove unneeded shebang | ianb | 2009-03-04 | 1 | -1/+0 |
| | |||||
* | parse a single *, per #330 | ianb | 2009-01-09 | 1 | -1/+4 |
| | |||||
* | correct r7651 comment, this changed as of 2.5.2 | pjenvey | 2008-11-19 | 1 | -2/+2 |
| | |||||
* | make html_unquote('') consistently return u'' everywhere -- re.sub('', '', u'') | pjenvey | 2008-11-18 | 1 | -1/+5 |
| | | | | started acting differently as of 2.5.1 | ||||
* | update test for new website content | ianb | 2008-11-16 | 1 | -1/+1 |
| |