<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git/tests/test_fixture.py, branch 3.2.4</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>TestApp: Make unicode urls always work. (#33)</title>
<updated>2019-09-04T10:21:30+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-09-04T10:21: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=71336fdd0dd7a4f12c3bbe077d6ec047fd84f9a8'/>
<id>71336fdd0dd7a4f12c3bbe077d6ec047fd84f9a8</id>
<content type='text'>
Passing a unicode url to get() always worked (assuming the url contained only ASCII), but it didn't work to post(), put(), or delete() if query parameters were included. This change fixes the latter cases.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passing a unicode url to get() always worked (assuming the url contained only ASCII), but it didn't work to post(), put(), or delete() if query parameters were included. This change fixes the latter cases.</pre>
</div>
</content>
</entry>
<entry>
<title>Modify TestApp.encode_multipart to handle bytes filenames and params. (#29)</title>
<updated>2019-08-25T12:05:18+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-08-25T12:05: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=249c49d6cc7c28ffd2bfef92b2402f746d24ca8b'/>
<id>249c49d6cc7c28ffd2bfef92b2402f746d24ca8b</id>
<content type='text'>
As the test shows, this fixes passing boths params and upload_files on Python 3.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the test shows, this fixes passing boths params and upload_files on Python 3.</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>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>
