<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git/paste, branch 3.1.0</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>Fix WSGIResponse.__call__ on Python 3. (#27)</title>
<updated>2019-07-24T10:46:10+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-07-24T10:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=37bb9b45cdb55b50a4c2b371c5a0a75198863287'/>
<id>37bb9b45cdb55b50a4c2b371c5a0a75198863287</id>
<content type='text'>
Replace `isinstance(self.content, file)` with a duck type for the `read()` method. Having a read method is what PEP 333 defines as the minimum requirement for a "file-like" object.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace `isinstance(self.content, file)` with a duck type for the `read()` method. Having a read method is what PEP 333 defines as the minimum requirement for a "file-like" object.</pre>
</div>
</content>
</entry>
<entry>
<title>Get MutableMapping from collections.abc on Python 3. (#26)</title>
<updated>2019-07-24T10:44:19+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-07-24T10:44: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=0cfebf50090b7069a4c9b3bc6baf65693d22792d'/>
<id>0cfebf50090b7069a4c9b3bc6baf65693d22792d</id>
<content type='text'>
This fixes a deprecation warning on 3.7.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a deprecation warning on 3.7.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix quoting of bytestrings. (#23)</title>
<updated>2019-03-07T10:51:12+00:00</updated>
<author>
<name>Jelmer Vernooĳ</name>
<email>jelmer@jelmer.uk</email>
</author>
<published>2019-03-07T10:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=1cccef8ca1257b36d33ac48563b3ea996575c550'/>
<id>1cccef8ca1257b36d33ac48563b3ea996575c550</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Write bytestrings when calling wsgi_write_chunk (#22)</title>
<updated>2019-02-28T15:40:15+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2019-02-28T15:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=602fc5b942b7799f668b81249c13f7fd51cf460f'/>
<id>602fc5b942b7799f668b81249c13f7fd51cf460f</id>
<content type='text'>
httpservers writes an empty string or an internal server
error message, these needs to be bytes in python 3.

It might have been useful to have wsgi_write_chunk accept
either bytes or strings and do the right thing, but that
seemed too invasive to be safe.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpservers writes an empty string or an internal server
error message, these needs to be bytes in python 3.

It might have been useful to have wsgi_write_chunk accept
either bytes or strings and do the right thing, but that
seemed too invasive to be safe.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL anyways. (#16)"</title>
<updated>2019-01-07T11:12:42+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2019-01-07T11:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=d12aa258e7b2a1a53046f9a84224cc94da2a8502'/>
<id>d12aa258e7b2a1a53046f9a84224cc94da2a8502</id>
<content type='text'>
This reverts commit 78dd2ec0138467305f1686558fca4ff8ca0b2b70.

That removes the use of the so-called "thread safe" tsafe module, which
adds a lock around many messages, but did not account for the use of
that lock in the paste/httpserver.py module.

An attempt was made to just get rid of that lock, but since there is
limited testing of that area, and few resources to confirm the change,
it's been decided that keeping tsafe and allow the deprecation warning
to be exposed is the best thing to do. With luck the decpration warning
will encourage people to not use the httpserver and choose something
else instead.

Fixes #19
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 78dd2ec0138467305f1686558fca4ff8ca0b2b70.

That removes the use of the so-called "thread safe" tsafe module, which
adds a lock around many messages, but did not account for the use of
that lock in the paste/httpserver.py module.

An attempt was made to just get rid of that lock, but since there is
limited testing of that area, and few resources to confirm the change,
it's been decided that keeping tsafe and allow the deprecation warning
to be exposed is the best thing to do. With luck the decpration warning
will encourage people to not use the httpserver and choose something
else instead.

Fixes #19
</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>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>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>
<entry>
<title>Pytest fixes (#9)</title>
<updated>2018-10-30T12:40:53+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-30T12:40: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=455203d2b3b0c898df6d3661cb1de577dfeda483'/>
<id>455203d2b3b0c898df6d3661cb1de577dfeda483</id>
<content type='text'>
* pytest: fix collection warnings via __test__=False

Fixes

&gt; "cannot collect test class %r because it has a __init__ constructor

Ref: https://github.com/pytest-dev/pytest/issues/2007

* pytest: configure testpaths

This is faster with test collection.

* pytest: fix warning with doctests

Fixes

&gt; /usr/lib/python3.7/site-packages/_pytest/python.py:764:
&gt; RemovedInPytest4Warning: usage of Generator.Function is deprecated,
&gt; please use pytest.Function instead

* Minor fixes around s/py.test/pytest/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pytest: fix collection warnings via __test__=False

Fixes

&gt; "cannot collect test class %r because it has a __init__ constructor

Ref: https://github.com/pytest-dev/pytest/issues/2007

* pytest: configure testpaths

This is faster with test collection.

* pytest: fix warning with doctests

Fixes

&gt; /usr/lib/python3.7/site-packages/_pytest/python.py:764:
&gt; RemovedInPytest4Warning: usage of Generator.Function is deprecated,
&gt; please use pytest.Function instead

* Minor fixes around s/py.test/pytest/
</pre>
</div>
</content>
</entry>
</feed>
