<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/status_codes.py, branch master</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/'/>
<entry>
<title>Fix formatting of status code example</title>
<updated>2019-09-17T12:34:36+00:00</updated>
<author>
<name>lzutao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2019-09-17T12:34:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=39b3dcf7d937570f8a5ecda57ac0aae7eeea3aba'/>
<id>39b3dcf7d937570f8a5ecda57ac0aae7eeea3aba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] fix failing doctests in requests/*</title>
<updated>2019-02-17T18:06:01+00:00</updated>
<author>
<name>aless10</name>
<email>alessio.izzo86@gmail.com</email>
</author>
<published>2019-02-17T18:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=177f4dd2a497e3db0e9d62ed0958183f4e9609c9'/>
<id>177f4dd2a497e3db0e9d62ed0958183f4e9609c9</id>
<content type='text'>
[add] add --doctest-modules in pytest.ini file as addopts
[add] add myself to AUTHORS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[add] add --doctest-modules in pytest.ini file as addopts
[add] add myself to AUTHORS
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an invalid escape sequence</title>
<updated>2018-07-08T17:10:00+00:00</updated>
<author>
<name>Chih-Hsuan Yen</name>
<email>yan12125@gmail.com</email>
</author>
<published>2018-07-08T17:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=b1a360c2f1aca569476093348a9ee70eaab90da9'/>
<id>b1a360c2f1aca569476093348a9ee70eaab90da9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not alter status_codes docstring if it is None</title>
<updated>2018-06-12T21:52:50+00:00</updated>
<author>
<name>Martin Durant</name>
<email>martin.durant@utoronto.ca</email>
</author>
<published>2018-06-12T21:52:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=8031ec76b88b8039b46a6c5782677746442a9121'/>
<id>8031ec76b88b8039b46a6c5782677746442a9121</id>
<content type='text'>
With PYTHONOPTIMIZE=2, the current code breaks with TypeError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With PYTHONOPTIMIZE=2, the current code breaks with TypeError.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation for available status codes</title>
<updated>2017-11-21T21:11:34+00:00</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2017-11-21T17:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=19919b44c4af95f125704c902acecdf83d70a3e4'/>
<id>19919b44c4af95f125704c902acecdf83d70a3e4</id>
<content type='text'>
There was no way to determine what actual names were available outside
of looking at the source code. They were not listed in the documentation
or accessible through the interactive help.

In addition, doing `pydoc requests.status_codes` displayed some pretty
unhelpful information - the utf-8 encoding string was included in the
module name, there was no description, and internal variables used for
initialisation leaked into the module scope:

    DATA
        code = 511
        codes = &lt;lookup 'status_codes'&gt;
        title = 'network_authentication'
        titles = ('network_authentication_required', 'network_auth', ...

This change prevents the internal variables from leaking, adds a
docstring (which has the side-effect of correcting the module name), and
appends information on the allowed status code names to the docstring
when the module is initialised.

The improved module documentation is then used in the API documentation
to provide another easy reference to the complete list of status codes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was no way to determine what actual names were available outside
of looking at the source code. They were not listed in the documentation
or accessible through the interactive help.

In addition, doing `pydoc requests.status_codes` displayed some pretty
unhelpful information - the utf-8 encoding string was included in the
module name, there was no description, and internal variables used for
initialisation leaked into the module scope:

    DATA
        code = 511
        codes = &lt;lookup 'status_codes'&gt;
        title = 'network_authentication'
        titles = ('network_authentication_required', 'network_auth', ...

This change prevents the internal variables from leaking, adds a
docstring (which has the side-effect of correcting the module name), and
appends information on the allowed status code names to the docstring
when the module is initialised.

The improved module documentation is then used in the API documentation
to provide another easy reference to the complete list of status codes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix syntax error</title>
<updated>2017-02-07T15:57:17+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-07T15:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=571d2c2cd7495e6fb81f656abdd2b3d3f593f1f0'/>
<id>571d2c2cd7495e6fb81f656abdd2b3d3f593f1f0</id>
<content type='text'>
I can only wonder how I managed to write it like that...</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I can only wonder how I managed to write it like that...</pre>
</div>
</content>
</entry>
<entry>
<title>Proper version, no bugs, shorter.</title>
<updated>2017-02-06T20:44:28+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-06T20:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=b00d8bf474cf5e2850ba83a11b7e372dad4bf119'/>
<id>b00d8bf474cf5e2850ba83a11b7e372dad4bf119</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>do not convert /o\ into /O\</title>
<updated>2017-02-06T16:27:16+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-06T16:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=593734b77092439b533e8e0599be6d204867b751'/>
<id>593734b77092439b533e8e0599be6d204867b751</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adding in pep8 fixes</title>
<updated>2016-07-20T16:30:08+00:00</updated>
<author>
<name>Nate Prewitt</name>
<email>Nate.Prewitt@gmail.com</email>
</author>
<published>2016-07-19T21:23:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=2d4a89f5dc561dbf062ec5c85d6f6ca32a511042'/>
<id>2d4a89f5dc561dbf062ec5c85d6f6ca32a511042</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 421 Misdirected Request.</title>
<updated>2016-04-08T07:23:46+00:00</updated>
<author>
<name>Cory Benfield</name>
<email>lukasaoz@gmail.com</email>
</author>
<published>2016-04-08T07:23:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=831d8e0a1e817c4c9deb0de7f79fec98865b4c58'/>
<id>831d8e0a1e817c4c9deb0de7f79fec98865b4c58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
