<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste.git/paste/httpserver.py, branch 2.0.3</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/paste-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/'/>
<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://91.123.203.49/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>
<entry>
<title>Make utility function private: _get_headers</title>
<updated>2015-04-30T19:35:19+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-04-30T19:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=24119f5adc0133a597e989c5f0209f615f5a6d8c'/>
<id>24119f5adc0133a597e989c5f0209f615f5a6d8c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make get_headers default to Python 3; fallback to Python 2</title>
<updated>2015-04-30T14:27:52+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-04-30T14:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=9d67cc2e257e998fc5b820675c1be22b083f35dc'/>
<id>9d67cc2e257e998fc5b820675c1be22b083f35dc</id>
<content type='text'>
as suggested by @haypo at https://bitbucket.org/ianb/paste/pull-request/22/fix-improper-commas-in-request-headers-in/diff#comment-6583636
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as suggested by @haypo at https://bitbucket.org/ianb/paste/pull-request/22/fix-improper-commas-in-request-headers-in/diff#comment-6583636
</pre>
</div>
</content>
</entry>
<entry>
<title>Make get all values of a header work on both Python 2 and 3</title>
<updated>2015-04-28T17:01:48+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-04-28T17:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=1976ddda0db68e75bd4cf1bdd3f3eb0b3b99eee7'/>
<id>1976ddda0db68e75bd4cf1bdd3f3eb0b3b99eee7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix improper commas in request headers in wsgi_environ</title>
<updated>2015-04-27T23:54:31+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-04-27T23:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=9b68e059e73c44bfc03b906f2271c8ac49aabcfb'/>
<id>9b68e059e73c44bfc03b906f2271c8ac49aabcfb</id>
<content type='text'>
Revert from using `get` to `getheaders` method.

fixes #4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert from using `get` to `getheaders` method.

fixes #4
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in mfrobben/paste (pull request #21)</title>
<updated>2015-04-22T00:33:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-04-22T00:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=3026086c19b45382d5ceca778a5458233b485ce9'/>
<id>3026086c19b45382d5ceca778a5458233b485ce9</id>
<content type='text'>
Fix bad reference to iterator variable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix bad reference to iterator variable
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pyflakes warnings</title>
<updated>2015-04-22T00:20:30+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-04-22T00:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=ebf7227f6ea8735c5f17ef9078e4543bfcb38a8c'/>
<id>ebf7227f6ea8735c5f17ef9078e4543bfcb38a8c</id>
<content type='text'>
* Remove unused variables
* Remove unused imports
* Remove dead code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove unused variables
* Remove unused imports
* Remove dead code
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bad reference to iterator variable</title>
<updated>2015-01-16T22:36:36+00:00</updated>
<author>
<name>Matthew Robben</name>
<email>mattr@dropbox.com</email>
</author>
<published>2015-01-16T22:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=3e25cb1adbf0dce96f49a270d07028550b15e33c'/>
<id>3e25cb1adbf0dce96f49a270d07028550b15e33c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: fix paste.httpserver</title>
<updated>2014-03-19T11:41:12+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-03-19T11:41:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=4450e264ae1d68e0150e0ab9f611118d9797d694'/>
<id>4450e264ae1d68e0150e0ab9f611118d9797d694</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: Use six types for strings</title>
<updated>2014-03-18T11:47:02+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-03-18T11:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste.git/commit/?id=4262b41da195cb959abf4a5a06ce34a6dec2c4a3'/>
<id>4262b41da195cb959abf4a5a06ce34a6dec2c4a3</id>
<content type='text'>
* Replace (str, unicode) with (six.binary_type, six.text_type)
* Replace basestring with (six.binary_type, six.text_type)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace (str, unicode) with (six.binary_type, six.text_type)
* Replace basestring with (six.binary_type, six.text_type)
</pre>
</div>
</content>
</entry>
</feed>
