<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste.git/paste, branch 2.0.3</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/paste-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/'/>
<entry>
<title>Make add_close.next() leverage add_close.__next__()</title>
<updated>2016-03-08T17:37:28+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T17:37:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=420a3be2b848b7f2c91f3d007d012d0e488e62f9'/>
<id>420a3be2b848b7f2c91f3d007d012d0e488e62f9</id>
<content type='text'>
so we avoid logic duplication
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so we avoid logic duplication
</pre>
</div>
</content>
</entry>
<entry>
<title>Uncomment/cleanup paste.wsgilib.app_close.__next__</title>
<updated>2016-03-08T02:22:59+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T02:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=8b4f7debdb530ba41de6bf125db6953caf6e3f94'/>
<id>8b4f7debdb530ba41de6bf125db6953caf6e3f94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge default to python3_wsgilib_add_close_next</title>
<updated>2016-03-08T01:35:33+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T01:35:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=de976d04b0ac2b3662cb609717ae506f904bc832'/>
<id>de976d04b0ac2b3662cb609717ae506f904bc832</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>paste.wsgilib.add_close: Add __next__ method</title>
<updated>2016-03-07T21:29:21+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-07T21:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=771b9d1e9c854ccd3d04466eeeed3dba3ee85189'/>
<id>771b9d1e9c854ccd3d04466eeeed3dba3ee85189</id>
<content type='text'>
to support using `add_close` objects as iterators on Python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to support using `add_close` objects as iterators on Python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: let html_quote() and url() always return the same type</title>
<updated>2015-11-12T12:26:15+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-11-12T12:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=64f24fe3e7ac7a1beb1f0fbb80c355e39127182c'/>
<id>64f24fe3e7ac7a1beb1f0fbb80c355e39127182c</id>
<content type='text'>
Mixing binary and text types causes errors later on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mixing binary and text types causes errors later on.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: dict.items() doesn't return a list anymore</title>
<updated>2015-11-12T12:28:38+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-11-12T12:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=200666040ff737181662824ea33cd019890181f9'/>
<id>200666040ff737181662824ea33cd019890181f9</id>
<content type='text'>
Use sorted() instead, which works on lists as well as dict_items
objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use sorted() instead, which works on lists as well as dict_items
objects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: avoid spurious warnings</title>
<updated>2015-09-09T09:09:59+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-09-09T09:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=75020c5f92846963892798514df48d8a2ad6b8a5'/>
<id>75020c5f92846963892798514df48d8a2ad6b8a5</id>
<content type='text'>
The dict.has_keys() method doesn't exist anymore in python 3, check if
the locals() object has a .keys() method instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dict.has_keys() method doesn't exist anymore in python 3, check if
the locals() object has a .keys() method instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: Don't mangle strangely encoded input</title>
<updated>2015-08-19T14:23:10+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-08-19T14:23:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=a5ee861c01ec94096dea918d551be596f844291e'/>
<id>a5ee861c01ec94096dea918d551be596f844291e</id>
<content type='text'>
In Python 3, cgi.FieldStorage needs to know about encodings like
shiftjis in order to decode it properly (in Python 2 it's simply not
decoded at all).

Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3, cgi.FieldStorage needs to know about encodings like
shiftjis in order to decode it properly (in Python 2 it's simply not
decoded at all).

Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: Always encode params if passed as text types</title>
<updated>2015-08-19T14:29:07+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-08-19T14:29:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=0a70450e3f57e6478b9244f42aeebea744fec77c'/>
<id>0a70450e3f57e6478b9244f42aeebea744fec77c</id>
<content type='text'>
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't display invalid error message when socket in use</title>
<updated>2015-05-11T15:07:40+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-05-11T15:07:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=c54025748ed72b00e239379b5ebf7ca35cdafcb4'/>
<id>c54025748ed72b00e239379b5ebf7ca35cdafcb4</id>
<content type='text'>
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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
</feed>
