<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git/paste, branch master</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>Augment use of imp with importlib.util (#76)</title>
<updated>2023-04-30T11:30:30+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2023-04-30T11:30: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=0af287feae82035db71fccd0f65d282eba41a7a4'/>
<id>0af287feae82035db71fccd0f65d282eba41a7a4</id>
<content type='text'>
imp is deprecated and will go away in Python 3.12 (which is very
soon). The preferred replacement is importlib.

However, importlib is not available in Python 2.7, so we want
to keep both in order to maintain 2.7 some semblance of 2.7
support.

This implementation is based on the importlib docs [1] and passes
the quite robust tests that are already present for the urlparser
module. Unfortunately there's no good way to be 100% certain that
this works for all the many ways that Paste can do an import. So
this patch is mostly hoping that test coverage is sufficient.

[1] https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly

Fixes #75</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
imp is deprecated and will go away in Python 3.12 (which is very
soon). The preferred replacement is importlib.

However, importlib is not available in Python 2.7, so we want
to keep both in order to maintain 2.7 some semblance of 2.7
support.

This implementation is based on the importlib docs [1] and passes
the quite robust tests that are already present for the urlparser
module. Unfortunately there's no good way to be 100% certain that
this works for all the many ways that Paste can do an import. So
this patch is mostly hoping that test coverage is sufficient.

[1] https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly

Fixes #75</pre>
</div>
</content>
</entry>
<entry>
<title>Fix py3 compatibility in paste.wsgilib.catch_errors (#70)</title>
<updated>2022-08-18T20:31:51+00:00</updated>
<author>
<name>Colin Watson</name>
<email>cjwatson@debian.org</email>
</author>
<published>2022-08-18T20:31:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=b2d156b170744b6eafacce480b2377032bd03be5'/>
<id>b2d156b170744b6eafacce480b2377032bd03be5</id>
<content type='text'>
A Python 3 application might only define `__next__`, not `next`.  Use
`six.next` instead.

This is very similar to https://github.com/cdent/paste/pull/53, and was
apparently missed there.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A Python 3 application might only define `__next__`, not `next`.  Use
`six.next` instead.

This is very similar to https://github.com/cdent/paste/pull/53, and was
apparently missed there.</pre>
</div>
</content>
</entry>
<entry>
<title>Replace deprecated threading aliases (#69)</title>
<updated>2022-06-22T10:14:13+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2022-06-22T10:14: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=6871824f9f87b63bdf5c863971df4c6a454f105c'/>
<id>6871824f9f87b63bdf5c863971df4c6a454f105c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Wsgi.errors is text (#62)</title>
<updated>2020-10-12T12:25:18+00:00</updated>
<author>
<name>Dave Brondsema</name>
<email>dave@brondsema.net</email>
</author>
<published>2020-10-12T12:25: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=652112c1d99a47809ef0dd8ba9992179262fb3d8'/>
<id>652112c1d99a47809ef0dd8ba9992179262fb3d8</id>
<content type='text'>
* Update next() to work with py3

* wsgi.errors is supposed to be text, fixes ErrorMiddleware on py3</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update next() to work with py3

* wsgi.errors is supposed to be text, fixes ErrorMiddleware on py3</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AuthBasicAuthenticator base64 decoding to work on py3 (#61)</title>
<updated>2020-10-12T12:22:52+00:00</updated>
<author>
<name>Dave Brondsema</name>
<email>dave@brondsema.net</email>
</author>
<published>2020-10-12T12:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=0370a8368fb5e2019dce4261c8a113f6cd41347e'/>
<id>0370a8368fb5e2019dce4261c8a113f6cd41347e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated imports (#59)</title>
<updated>2020-09-24T15:58:13+00:00</updated>
<author>
<name>jhance</name>
<email>jhance@users.noreply.github.com</email>
</author>
<published>2020-09-24T15:58: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=71a225c0ea6fc64ea5b105959a6b8205a0420dbd'/>
<id>71a225c0ea6fc64ea5b105959a6b8205a0420dbd</id>
<content type='text'>
The BaseCookie import is cleaned up to use six.

Where splittype and splithost are used the returned values are not, so they can go away.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The BaseCookie import is cleaned up to use six.

Where splittype and splithost are used the returned values are not, so they can go away.</pre>
</div>
</content>
</entry>
<entry>
<title>Patching auth ticket to be python3 compatible (#56)</title>
<updated>2020-07-22T15:13:48+00:00</updated>
<author>
<name>TilmanSchaefer</name>
<email>tilman.schaefer@fieldaware.com</email>
</author>
<published>2020-07-22T15:13: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=84ee50a0b62a1b3206b5894b397a1aa0bb12deb2'/>
<id>84ee50a0b62a1b3206b5894b397a1aa0bb12deb2</id>
<content type='text'>
* Patching auth ticket to be python3 compatible</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Patching auth ticket to be python3 compatible</pre>
</div>
</content>
</entry>
<entry>
<title>Py3-compat middleware.py's make_table's item sort (#55)</title>
<updated>2020-07-14T10:23:13+00:00</updated>
<author>
<name>Amit Markel</name>
<email>amitmarkel@users.noreply.github.com</email>
</author>
<published>2020-07-14T10:23: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=a8886fd1cf9755d08ed348cd05560b42c249c9a5'/>
<id>a8886fd1cf9755d08ed348cd05560b42c249c9a5</id>
<content type='text'>
In py2 an array is created and sorted, and in py3 an array of the items needs to be realized in the same fashion hence the sorted(•) fix. Otherwise the code will fail on Python 3 since dict.items() returns a view on the items which doesn't have a .sort() method.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In py2 an array is created and sorted, and in py3 an array of the items needs to be realized in the same fashion hence the sorted(•) fix. Otherwise the code will fail on Python 3 since dict.items() returns a view on the items which doesn't have a .sort() method.</pre>
</div>
</content>
</entry>
<entry>
<title>Make next handling in wsgilib more py3-compatible (#53)</title>
<updated>2020-06-03T20:23:20+00:00</updated>
<author>
<name>jhance</name>
<email>jhance@users.noreply.github.com</email>
</author>
<published>2020-06-03T20:23: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=11fec3e77f3212494f8f83052168c1e71ddbf0a4'/>
<id>11fec3e77f3212494f8f83052168c1e71ddbf0a4</id>
<content type='text'>
If the app-iterator being passed in is not defining `next()` (e.g. running under py3 and only defined `__next__`), this will currently crash.

Fix by using `six.next` which will use `__next__` or `next` as appropriate.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the app-iterator being passed in is not defining `next()` (e.g. running under py3 and only defined `__next__`), this will currently crash.

Fix by using `six.next` which will use `__next__` or `next` as appropriate.</pre>
</div>
</content>
</entry>
<entry>
<title>add ipv6 support by setting address family (#50)</title>
<updated>2020-02-12T10:29:31+00:00</updated>
<author>
<name>Lekinho</name>
<email>mctreasure@gmail.com</email>
</author>
<published>2020-02-12T10:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=c8de203b0dec88c65a32e2d1edb2480644dfbc84'/>
<id>c8de203b0dec88c65a32e2d1edb2480644dfbc84</id>
<content type='text'>
* add ipv6 support by setting address family</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add ipv6 support by setting address family</pre>
</div>
</content>
</entry>
</feed>
