summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3 from zaneb/py3Chris Dent2018-10-234-3/+6
|\ | | | | Python 3 fixes
| * Make iterators Python3-compatibleZane Bitter2018-10-232-0/+4
| | | | | | | | | | | | | | | | In Python3, the iterator protocol uses a method named __next__(), not next(). (For compatibility with Python 2.6, we still need to support both though.) Ensure all iterator objects support the Python3 protocol. Signed-off-by: Zane Bitter <zbitter@redhat.com>
| * Don't raise StopIteration inside a generatorZane Bitter2018-10-232-3/+2
|/ | | | | | This will cause a runtime error in Python 3.7, due to PEP479. Signed-off-by: Zane Bitter <zbitter@redhat.com>
* Add a simple .gitignoreChris Dent2018-10-231-0/+4
| | | | We can clean it up better as required.
* Fix up testing after switch to pytestChris Dent2018-10-2310-27/+27
| | | | | | | | | | | | | | pytest exposes many warnings, some but not all of which are cleaned up here. The main switch is to use html.escape instead of cgi.escape. This inspired the addition of 'future' to requirements. The remaining warnings are related to pytest deprecations or over-eager test discovery. It is perhaps ironic that the switch to pytest is to avoid nose being mostly dead, and now we are using features in pytest that pytest wants to make dead. These are left for later cleanups, which means that running the tests is noisy.
* Merge pull request #1 from cdent/pytestChris Dent2018-10-237-39/+35
|\ | | | | Switch from nose to pytest
| * Switch from nose to pytestpytestMarc Abramowitz2016-03-087-39/+35
| |
* | Update README and setup.py for new locationChris Dent2018-10-232-13/+12
| | | | | | | | | | pythonpaste.org no longer exists so we need to remove those links
* | Fix proxy testChris Dent2018-10-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | The proxy test relied on pythonpaste.org being up and existing. It is neither. So instead we use httpbin.org which is often used for this kind of thing. Unfortunately httpbin is now a react app which means a lot of the HTML is generated client-side, which means we need to choose wisely. As the original comments indicate, the test is not particularly robust and remains so.
* | Merged in onovy/paste (pull request #36)Chris Dent2018-10-231-1/+1
|\ \ | | | | | | | | | Use correct variable when building message for exception
| * | Use correct variable when building message for exceptionOnd?ej Nov?2016-03-101-1/+1
| | | | | | | | | | | | | | | Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695253
| * | Added tag 2.0.3 for changeset 768835f3c1b7Marc Abramowitz2016-03-080-0/+0
| | |
| * | Merged in 2.0.3 (pull request #35)2.0.3Marc Abramowitz2016-03-080-0/+0
| |\ \ | | |/ | | | | | | Bump version to 2.0.3
| * | Close branch 2.0.32.0.3Marc Abramowitz2016-03-080-0/+0
| | |
| * | Bump version to 2.0.3Marc Abramowitz2016-03-082-1/+29
| |/ | | | | | | and add news to `docs/news.txt`.
| * Merged in msabramo/paste/python3_wsgilib_add_close_next (pull request #29)Marc Abramowitz2016-03-082-1/+57
| |\ | | | | | | | | | paste.wsgilib.add_close: Add __next__ method
| | * Make add_close.next() leverage add_close.__next__()python3_wsgilib_add_close_nextMarc Abramowitz2016-03-081-1/+1
| | | | | | | | | | | | so we avoid logic duplication
| | * Check paste.wsgilib.add_close._closedMarc Abramowitz2016-03-071-0/+2
| | |
| | * Uncomment/cleanup paste.wsgilib.app_close.__next__Marc Abramowitz2016-03-071-2/+2
| | |
| | * Add tests for `add_close` classMarc Abramowitz2016-03-071-0/+50
| | |
| | * Merge default to python3_wsgilib_add_close_nextMarc Abramowitz2016-03-071-0/+4
| | |\
| | | * paste.wsgilib.add_close: Add __next__ methodMarc Abramowitz2016-03-071-0/+4
| | | | | | | | | | | | | | | | to support using `add_close` objects as iterators on Python 3.
| | | * Added tag 2.0.2 for changeset 53f5c2cd7f50Marc Abramowitz2015-05-110-0/+0
| | | |
| | | * Update docs/news.txt for 2.0.22.0.2Marc Abramowitz2015-05-111-0/+21
| | | |
| | | * Don't display invalid error message when socket in useMarc Abramowitz2015-05-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when the listening socket was already in use, this error message was displayed: ... File "/private/tmp/n/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1106, in server_close self.thread_pool.shutdown(60) AttributeError: 'WSGIThreadPoolServer' object has no attribute 'thread_pool' We prevent this by checking if `self` has a `thread_pool` attribute before trying to reference it. Fixes issue #5 (https://bitbucket.org/ianb/paste/issue/5/invalid-error-message-when-the-socket-is)
| | | * Merged in aodag/paste-py3/fix-has_key (pull request #25)Marc Abramowitz2015-05-112-2/+2
| | | |\ | | | | | | | | | | | | | | | replace ``has_key`` method to ``in`` operator #9
| | | | * replace ``has_key`` method to ``in`` operator #9fix-has_keyaodag2015-05-022-2/+2
| | | | |
| | | | * Fix Python 3 issue in paste/fixture.pyMarc Abramowitz2015-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | by wrapping `map` with `list`.
| | | | * Merged in msabramo/paste/BB-4 (pull request #22)Victor Stinner2015-04-300-0/+0
| | | | |\ | | | | | | | | | | | | | | | | | | Fix improper commas in request headers in wsgi_environ
| | | | | * set version to 2.0.2Victor Stinner2015-04-231-7/+1
| | | | | |
| | | | | * Added tag 2.0.1 for changeset a0ef0e57e057Victor Stinner2015-04-230-0/+0
| | | | | |
| | | | | * prepare release 2.0.12.0.1Victor Stinner2015-04-232-3/+4
| | | | | |
| | | | | * Revert change on paste.util.quoting.html_quote()Victor Stinner2015-04-233-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Python 2, html_quote(unicode) returns again bytes to restore backward compatibility.
| | | | | * Update changelogVictor Stinner2015-04-231-1/+15
| | | | | |
| | | | | * Fix setup.py for six dependencyVictor Stinner2015-04-232-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Move the six dependency from extras_require to install_requires.
| | | | | * Set version to 2.0.1Victor Stinner2015-04-221-1/+1
| | | | | |
| | | | | * Extract README.rst from setup.pyVictor Stinner2015-04-222-97/+113
| | | | | | | | | | | | | | | | | | | | | | | | Add links to Paste websites and related projects
| | | | | * Fix paste.util.html_quote(unicode): don't encode the string to escape itVictor Stinner2015-04-223-25/+30
| | | | | |
| | | | | * 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-22106-8010/+3706
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | Fix bad reference to iterator variable
| | | | | | * Cleanup imports in test_fileappVictor Stinner2015-04-221-12/+4
| | | | | | |
| | | | | | * Fix pyflakes warnings in testsVictor Stinner2015-04-228-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused imports * Remove unused variables
| | | | | | * 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.
| | | | | | * setup.py: add python3 setup.py bdist_wheel uploadVictor Stinner2015-04-221-1/+2
| | | | | | |
| | | | | | * Added tag 2.0 for changeset c345eab09517Victor Stinner2015-04-220-0/+0
| | | | | | |