<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git/paste, branch 3.0.2</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>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>
<entry>
<title>Remove use of future</title>
<updated>2018-10-24T21:46:20+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2018-10-24T21:46:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=00f4fde04bdd841ec88c2b62dd9dcab92a3d019d'/>
<id>00f4fde04bdd841ec88c2b62dd9dcab92a3d019d</id>
<content type='text'>
Future is calling installation endless recursion. We are only
using it for an html.escape method, so we make our own and get
rid of future.

Related-Bug: #6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Future is calling installation endless recursion. We are only
using it for an html.escape method, so we make our own and get
rid of future.

Related-Bug: #6
</pre>
</div>
</content>
</entry>
<entry>
<title>Make iterators Python3-compatible</title>
<updated>2018-10-23T17:32:28+00:00</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2018-10-23T17:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=10e5c641ecd45d896d25b0511438c9a9ce3c59e4'/>
<id>10e5c641ecd45d896d25b0511438c9a9ce3c59e4</id>
<content type='text'>
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 &lt;zbitter@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;zbitter@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't raise StopIteration inside a generator</title>
<updated>2018-10-23T17:32:14+00:00</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2018-10-23T17:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=777b6cd5b6b2159d32461846f53617fc7cb962be'/>
<id>777b6cd5b6b2159d32461846f53617fc7cb962be</id>
<content type='text'>
This will cause a runtime error in Python 3.7, due to PEP479.

Signed-off-by: Zane Bitter &lt;zbitter@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will cause a runtime error in Python 3.7, due to PEP479.

Signed-off-by: Zane Bitter &lt;zbitter@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up testing after switch to pytest</title>
<updated>2018-10-23T16:01:47+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2018-10-23T16:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=9fcc98bd3e5bde3a26326f3156845093f84b8832'/>
<id>9fcc98bd3e5bde3a26326f3156845093f84b8832</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in onovy/paste (pull request #36)</title>
<updated>2018-10-23T13:46:30+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-10-23T13:46:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=c48efceacb313d22a41b464539b0e9cf0f907eee'/>
<id>c48efceacb313d22a41b464539b0e9cf0f907eee</id>
<content type='text'>
Use correct variable when building message for exception
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use correct variable when building message for exception
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in jeblair/paste (pull request #38)</title>
<updated>2018-10-23T13:44:19+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-10-23T13: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=057849aa0ca25c040823b3f6791d12eb57c25962'/>
<id>057849aa0ca25c040823b3f6791d12eb57c25962</id>
<content type='text'>
Fix error on httpserver shutdown
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix error on httpserver shutdown
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't raise StopIteration from generator, return instead</title>
<updated>2018-06-08T16:49:42+00:00</updated>
<author>
<name>Miro Hron?ok</name>
<email>miro@hroncok.cz</email>
</author>
<published>2018-06-08T16:49: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=bb9bdf7e5b5cb0d3458242c5b8ba6134efb282a4'/>
<id>bb9bdf7e5b5cb0d3458242c5b8ba6134efb282a4</id>
<content type='text'>
See https://www.python.org/dev/peps/pep-0479/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://www.python.org/dev/peps/pep-0479/
</pre>
</div>
</content>
</entry>
</feed>
