<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste.git/tests, branch master</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/paste-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/'/>
<entry>
<title>make tests pass after 2031</title>
<updated>2018-02-21T09:25:37+00:00</updated>
<author>
<name>Bernhard M. Wiedemann</name>
<email>bernhard+hgcommit@lsmod.de</email>
</author>
<published>2018-02-21T09:25:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=966a39bb00b9637f4a61f82e1830bf883cb3e512'/>
<id>966a39bb00b9637f4a61f82e1830bf883cb3e512</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check paste.wsgilib.add_close._closed</title>
<updated>2016-03-08T02:47:38+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T02:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=7e91ad9c058f10418c086c8b135bc6123c1a8f92'/>
<id>7e91ad9c058f10418c086c8b135bc6123c1a8f92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for `add_close` class</title>
<updated>2016-03-08T02:22:25+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T02:22:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=094c112ee33cbdfcd4a637e1969f432e06988925'/>
<id>094c112ee33cbdfcd4a637e1969f432e06988925</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable testing with pypy</title>
<updated>2016-03-07T22:33:22+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-07T22:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=24e2aeee29ebcd41a5ae122e6f8cec76e86529c3'/>
<id>24e2aeee29ebcd41a5ae122e6f8cec76e86529c3</id>
<content type='text'>
This involved:

- Adding "pypy" to the `tox.ini` envlist.
- Adding `# doctest: +IGNORE_EXCEPTION_DETAIL` to 2 doctests, because the
  traceback message text is slightly different on PyPy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This involved:

- Adding "pypy" to the `tox.ini` envlist.
- Adding `# doctest: +IGNORE_EXCEPTION_DETAIL` to 2 doctests, because the
  traceback message text is slightly different on PyPy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: use compatible print syntax in example text</title>
<updated>2015-11-12T12:27:37+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-11-12T12:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=535e6df5251c2cc433e5c76e55b44f1832451d4e'/>
<id>535e6df5251c2cc433e5c76e55b44f1832451d4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: ignore exception details in doctests</title>
<updated>2015-09-10T11:44:56+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-09-10T11:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=85945f7b5c901e3e6b2a43683abec3003e658c51'/>
<id>85945f7b5c901e3e6b2a43683abec3003e658c51</id>
<content type='text'>
Exception details are formatted differently between Python 2 and 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exception details are formatted differently between Python 2 and 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: add workarounds for cgi.FieldStorage</title>
<updated>2015-08-20T08:30:28+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-08-20T08:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=e429aea5bc693ffb50b7cdaefd0a6e24ead2afa1'/>
<id>e429aea5bc693ffb50b7cdaefd0a6e24ead2afa1</id>
<content type='text'>
cgi.FieldStorage keeps some keys as str, some as the repr() of the
byte-encoded key, duh.

Fixes (well...): tests.test_cgiapp.test_form
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cgi.FieldStorage keeps some keys as str, some as the repr() of the
byte-encoded key, duh.

Fixes (well...): tests.test_cgiapp.test_form
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: Use the same python interpreter for CGI scripts.</title>
<updated>2015-08-20T08:28:43+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-08-20T08:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=3b32d2f358eab38c0318475d1d191c68d1dd990d'/>
<id>3b32d2f358eab38c0318475d1d191c68d1dd990d</id>
<content type='text'>
Fixes tests.test_cgiapp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes tests.test_cgiapp
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3: App must always return binary type.</title>
<updated>2015-08-19T14:32:16+00:00</updated>
<author>
<name>Nils Philippsen</name>
<email>nils@redhat.com</email>
</author>
<published>2015-08-19T14:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=5dd138a1fa76db863bf0d496deaac2cb2f3447a9'/>
<id>5dd138a1fa76db863bf0d496deaac2cb2f3447a9</id>
<content type='text'>
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
</pre>
</div>
</content>
</entry>
<entry>
<title>test_wsgirequest_charset: Use UTF-8 instead of iso-8859-1</title>
<updated>2015-05-01T00:39:24+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2015-05-01T00:39:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/paste.git/commit/?id=89502c4f5a0db140d135c89d2332e6bb1203590f'/>
<id>89502c4f5a0db140d135c89d2332e6bb1203590f</id>
<content type='text'>
because it seems that the defacto standard for encoding URIs is to use UTF-8.

I've been reading about url encoding and it seems like perhaps using an
encoding other than UTF-8 is very non-standard and not well-supported (this
test is trying to use `iso-8859-1`).

From http://en.wikipedia.org/wiki/Percent-encoding

&gt; For a non-ASCII character, it is typically converted to its byte sequence in
&gt; UTF-8, and then each byte value is represented as above.

&gt; The generic URI syntax mandates that new URI schemes that provide for the
&gt; representation of character data in a URI must, in effect, represent
&gt; characters from the unreserved set without translation, and should convert
&gt; all other characters to bytes according to UTF-8, and then percent-encode
&gt; those values. This requirement was introduced in January 2005 with the
&gt; publication of RFC 3986

From http://tools.ietf.org/html/rfc3986:

&gt; Non-ASCII characters must first be encoded according to UTF-8 [STD63], and
&gt; then each octet of the corresponding UTF-8 sequence must be percent-encoded
&gt; to be represented as URI characters.  URI producing applications must not use
&gt; percent-encoding in host unless it is used to represent a UTF-8 character
&gt; sequence.

From http://tools.ietf.org/html/rfc3987:

&gt; Conversions from URIs to IRIs MUST NOT use any character encoding other than
&gt; UTF-8 in steps 3 and 4, even if it might be possible to guess from the
&gt; context that another character encoding than UTF-8 was used in the URI.  For
&gt; example, the URI "http://www.example.org/r%E9sum%E9.html" might with some
&gt; guessing be interpreted to contain two e-acute characters encoded as
&gt; iso-8859-1. It must not be converted to an IRI containing these e-acute
&gt; characters.  Otherwise, in the future the IRI will be mapped to
&gt; "http://www.example.org/r%C3%A9sum%C3%A9.html", which is a different URI from
&gt; "http://www.example.org/r%E9sum%E9.html".

See issue #7, which I think this at least partially fixes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
because it seems that the defacto standard for encoding URIs is to use UTF-8.

I've been reading about url encoding and it seems like perhaps using an
encoding other than UTF-8 is very non-standard and not well-supported (this
test is trying to use `iso-8859-1`).

From http://en.wikipedia.org/wiki/Percent-encoding

&gt; For a non-ASCII character, it is typically converted to its byte sequence in
&gt; UTF-8, and then each byte value is represented as above.

&gt; The generic URI syntax mandates that new URI schemes that provide for the
&gt; representation of character data in a URI must, in effect, represent
&gt; characters from the unreserved set without translation, and should convert
&gt; all other characters to bytes according to UTF-8, and then percent-encode
&gt; those values. This requirement was introduced in January 2005 with the
&gt; publication of RFC 3986

From http://tools.ietf.org/html/rfc3986:

&gt; Non-ASCII characters must first be encoded according to UTF-8 [STD63], and
&gt; then each octet of the corresponding UTF-8 sequence must be percent-encoded
&gt; to be represented as URI characters.  URI producing applications must not use
&gt; percent-encoding in host unless it is used to represent a UTF-8 character
&gt; sequence.

From http://tools.ietf.org/html/rfc3987:

&gt; Conversions from URIs to IRIs MUST NOT use any character encoding other than
&gt; UTF-8 in steps 3 and 4, even if it might be possible to guess from the
&gt; context that another character encoding than UTF-8 was used in the URI.  For
&gt; example, the URI "http://www.example.org/r%E9sum%E9.html" might with some
&gt; guessing be interpreted to contain two e-acute characters encoded as
&gt; iso-8859-1. It must not be converted to an IRI containing these e-acute
&gt; characters.  Otherwise, in the future the IRI will be mapped to
&gt; "http://www.example.org/r%C3%A9sum%C3%A9.html", which is a different URI from
&gt; "http://www.example.org/r%E9sum%E9.html".

See issue #7, which I think this at least partially fixes.
</pre>
</div>
</content>
</entry>
</feed>
