<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git, branch fix-19</title>
<subtitle>github.com: cdent/paste.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/'/>
<entry>
<title>Remove use of _lock around get and set timeout of SSL connection</title>
<updated>2019-01-04T17:45:39+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2019-01-04T17:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=edd3469847bd943ac28ff85607d585555290f650'/>
<id>edd3469847bd943ac28ff85607d585555290f650</id>
<content type='text'>
The maintainers of pyOpenSSL have deprecated the tsafe module
because it is neither used nor complete. It was removed from
in paste in 78dd2ec01384 but because of a lack of test coverage
it caused a regression as described in #19.

Reviewing the code and pyOpenSSL, it appears that the right
fix is to simply not subclass the SSL.Connection, and let
get and set timeout be called on the socket object that
Connection keeps, without a lock.

A concern here is that if someone is doing something multi-
threaded with paste/httpserver the removal of the use of tsafe
may present some issues. On the other hand, if someone is
doing something multi-threaded, one hopes they are using a
more robust web and modern web server.

Fixes #19
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maintainers of pyOpenSSL have deprecated the tsafe module
because it is neither used nor complete. It was removed from
in paste in 78dd2ec01384 but because of a lack of test coverage
it caused a regression as described in #19.

Reviewing the code and pyOpenSSL, it appears that the right
fix is to simply not subclass the SSL.Connection, and let
get and set timeout be called on the socket object that
Connection keeps, without a lock.

A concern here is that if someone is doing something multi-
threaded with paste/httpserver the removal of the use of tsafe
may present some issues. On the other hand, if someone is
doing something multi-threaded, one hopes they are using a
more robust web and modern web server.

Fixes #19
</pre>
</div>
</content>
</entry>
<entry>
<title>Release 3.0.5</title>
<updated>2018-11-29T11:23:22+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-11-29T11:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=5015532233dc25bf1594f79c0af7daf8d59a5f80'/>
<id>5015532233dc25bf1594f79c0af7daf8d59a5f80</id>
<content type='text'>
* Quiet OpenSSL deprecation warning
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Quiet OpenSSL deprecation warning
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL anyways. (#16)</title>
<updated>2018-11-29T11:19:18+00:00</updated>
<author>
<name>Stephan Richter</name>
<email>stephan.richter@gmail.com</email>
</author>
<published>2018-11-29T11:19:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=78dd2ec0138467305f1686558fca4ff8ca0b2b70'/>
<id>78dd2ec0138467305f1686558fca4ff8ca0b2b70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>release 3.0.4</title>
<updated>2018-11-26T17:52:59+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-11-26T17:52:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=76cec509469670956933cd78e7193f5349eef1f3'/>
<id>76cec509469670956933cd78e7193f5349eef1f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't delete dict item while iterating over same dict (#14)</title>
<updated>2018-11-05T15:53:19+00:00</updated>
<author>
<name>Marius van den Beek</name>
<email>m.vandenbeek@gmail.com</email>
</author>
<published>2018-11-05T15:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=3de6212181000cde5c1bc2e81e1f9f52722cc991'/>
<id>3de6212181000cde5c1bc2e81e1f9f52722cc991</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>release 3.0.3</title>
<updated>2018-11-03T10:44:13+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-11-03T10:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=e5de73c3dfc174a06ec445d1da2d1abcc9511947'/>
<id>e5de73c3dfc174a06ec445d1da2d1abcc9511947</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Depend on pytest instead of nose (#13)</title>
<updated>2018-11-03T10:08:02+00:00</updated>
<author>
<name>Felix Yan</name>
<email>felixonmars@archlinux.org</email>
</author>
<published>2018-11-03T10:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=ae93da351011b07e5867c084f43350fe3bb84d6b'/>
<id>ae93da351011b07e5867c084f43350fe3bb84d6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Release 3.0.2</title>
<updated>2018-10-31T09:58:53+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-10-31T09:58:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=5a4c717b02144fc501eab5271495ca7fa9d0c3f7'/>
<id>5a4c717b02144fc501eab5271495ca7fa9d0c3f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>paste.fixture: fix form offset handling (#12)</title>
<updated>2018-10-31T09:56:48+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-31T09:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=cdac8d221ca509946739aab8acb55422e0e457c4'/>
<id>cdac8d221ca509946739aab8acb55422e0e457c4</id>
<content type='text'>
It would fail if the length of bytes and unicode differs.

It now passes non-bytes to `Form` directly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It would fail if the length of bytes and unicode differs.

It now passes non-bytes to `Form` directly.</pre>
</div>
</content>
</entry>
<entry>
<title>py3 fixes for form handling in paste.fixture (#8)</title>
<updated>2018-10-30T14:18:38+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-30T14:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=c58c1ae23f49c2701ea4ee53d017dd62b1d6f213'/>
<id>c58c1ae23f49c2701ea4ee53d017dd62b1d6f213</id>
<content type='text'>
* py3 fixes for form handling in paste.fixture

It uses "not six.PY2" in contrast to other places in the code to be
forward-compatible.

I've not looked too closely, but it might make sense to decode body/text
in the beginning already, instead of having it as bytes internally?!

Also, like mentioned in [1] already, it should probably use the correct
source encoding?!

1: https://github.com/cdent/paste/blob/36e5b8bd16a6063ec654faf04541f3a20d19f7fe/paste/fixture.py#L820

* Add test, using/fixing SlowConsumer form app
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* py3 fixes for form handling in paste.fixture

It uses "not six.PY2" in contrast to other places in the code to be
forward-compatible.

I've not looked too closely, but it might make sense to decode body/text
in the beginning already, instead of having it as bytes internally?!

Also, like mentioned in [1] already, it should probably use the correct
source encoding?!

1: https://github.com/cdent/paste/blob/36e5b8bd16a6063ec654faf04541f3a20d19f7fe/paste/fixture.py#L820

* Add test, using/fixing SlowConsumer form app
</pre>
</div>
</content>
</entry>
</feed>
