<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/library/functions.rst, branch fix-misc-acks</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.7] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17128)</title>
<updated>2019-11-12T18:07:20+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-11-12T18:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=42b619ac9aa7f889dcd8eeb14d813f17468454d9'/>
<id>42b619ac9aa7f889dcd8eeb14d813f17468454d9</id>
<content type='text'>
* "Return true/false" is replaced with "Return ``True``/``False``"
  if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns &lt;bool&gt;" is replaced with "Return &lt;bool&gt;".
(cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* "Return true/false" is replaced with "Return ``True``/``False``"
  if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns &lt;bool&gt;" is replaced with "Return &lt;bool&gt;".
(cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37330: open(): "U" mode is removed in Python 3.9 (GH-16972)</title>
<updated>2019-10-29T09:38:37+00:00</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-29T09:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4cb08b6c0ae6989d169dd48c2b24087941f6d0b0'/>
<id>4cb08b6c0ae6989d169dd48c2b24087941f6d0b0</id>
<content type='text'>
Update open() documentation.
(cherry picked from commit 1d2862a323ae1387e306942253b1e487018e2b7f)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update open() documentation.
(cherry picked from commit 1d2862a323ae1387e306942253b1e487018e2b7f)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38255: super() can search attributes as well as methods (GH-16368) (GH-16392)</title>
<updated>2019-09-25T15:24:24+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-25T15:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3b5e9241142d6b7c22059115c0e68a8912753818'/>
<id>3b5e9241142d6b7c22059115c0e68a8912753818</id>
<content type='text'>
Improvement suggested by Géry Ogam.
(cherry picked from commit 15ccc4fac09b866d61b069c6c136aabfe4bac09c)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improvement suggested by Géry Ogam.
(cherry picked from commit 15ccc4fac09b866d61b069c6c136aabfe4bac09c)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)</title>
<updated>2019-09-11T10:55:29+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-11T10:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d378fdb10a5476b86b5a01d74c1bcc4e2f52e003'/>
<id>d378fdb10a5476b86b5a01d74c1bcc4e2f52e003</id>
<content type='text'>
(cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f)

Co-authored-by: smokephil &lt;smokephil@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f)

Co-authored-by: smokephil &lt;smokephil@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32413: Add documentation that at the module level, locals(), globals() are the  same dictionary (GH-5004)</title>
<updated>2019-04-02T18:14:50+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-04-02T18:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ef516d11c1a0f885dba0aba8cf5366502077cdd4'/>
<id>ef516d11c1a0f885dba0aba8cf5366502077cdd4</id>
<content type='text'>
https://bugs.python.org/issue32413
(cherry picked from commit 1c5fa5af8a95f25119e45e40a4ed8183d06f4a5b)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) &lt;thatiparthysreenivas@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue32413
(cherry picked from commit 1c5fa5af8a95f25119e45e40a4ed8183d06f4a5b)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) &lt;thatiparthysreenivas@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34085: Improve wording on classmethod/staticmethod (GH-8228)</title>
<updated>2019-03-25T23:00:00+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-03-25T23:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b23b08623a46cef841038ee32948020692ef1b35'/>
<id>b23b08623a46cef841038ee32948020692ef1b35</id>
<content type='text'>
* bpo-34085: Improve wording on classmethod/staticmethod

* Address comments from Éric

* Address comments from Éric
(cherry picked from commit 548cb6060ab9d5a66931ea2be4da08c2c72c9176)

Co-authored-by: Andre Delfino &lt;adelfino@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-34085: Improve wording on classmethod/staticmethod

* Address comments from Éric

* Address comments from Éric
(cherry picked from commit 548cb6060ab9d5a66931ea2be4da08c2c72c9176)

Co-authored-by: Andre Delfino &lt;adelfino@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)</title>
<updated>2019-03-10T11:36:18+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-03-10T11:36:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=87f5255cdc9aa737d445b5813e52c41e5266a862'/>
<id>87f5255cdc9aa737d445b5813e52c41e5266a862</id>
<content type='text'>
(cherry picked from commit 1aeeaeb79efa4de41f97b58547e23c2965ecabc5)

Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 1aeeaeb79efa4de41f97b58547e23c2965ecabc5)

Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: fix example for iter() function. (GH-11959)</title>
<updated>2019-02-21T07:59:28+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-02-21T07:59:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=92ac01b104b80f9251fcb17ab4cc1845c1f91ac2'/>
<id>92ac01b104b80f9251fcb17ab4cc1845c1f91ac2</id>
<content type='text'>
read() returns bytes for a file opened in binary mode,
so b'' should be used as a sentinel instead of ''.
Otherwise the loop will be infinite.
(cherry picked from commit 11fa0e48a958716186eb99348a46064e944eccf6)

Co-authored-by: Cristian Ciupitu &lt;cristian.ciupitu@yahoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
read() returns bytes for a file opened in binary mode,
so b'' should be used as a sentinel instead of ''.
Otherwise the loop will be infinite.
(cherry picked from commit 11fa0e48a958716186eb99348a46064e944eccf6)

Co-authored-by: Cristian Ciupitu &lt;cristian.ciupitu@yahoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify U-mode deprecation in open() (GH-11646)</title>
<updated>2019-01-27T16:27:58+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-27T16:27:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=658ff844963b68b420d663c188cd5fc78442db3f'/>
<id>658ff844963b68b420d663c188cd5fc78442db3f</id>
<content type='text'>
The previous wording could be read as saying that universal
newlines mode itself was deprecated, when it's only the 'U'
character in the mode field that should be avoided.

The update also moves the description of the 'U' mode character
out of the mode table, as the longer explanation was overly
intrusive as a table entry and overshadowed the actually useful
mode characters.
(cherry picked from commit 3171df34141c1f26ec16dccb4357184c0cf6c58f)

Co-authored-by: Nick Coghlan &lt;ncoghlan@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous wording could be read as saying that universal
newlines mode itself was deprecated, when it's only the 'U'
character in the mode field that should be avoided.

The update also moves the description of the 'U' mode character
out of the mode table, as the longer explanation was overly
intrusive as a table entry and overshadowed the actually useful
mode characters.
(cherry picked from commit 3171df34141c1f26ec16dccb4357184c0cf6c58f)

Co-authored-by: Nick Coghlan &lt;ncoghlan@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34764: improve docs example of iter() with sentinel value (GH-11222) (#11301)</title>
<updated>2018-12-24T05:19:57+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-24T05:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=00a48d57dfd52a968b357d68f63c51db3a451566'/>
<id>00a48d57dfd52a968b357d68f63c51db3a451566</id>
<content type='text'>
(cherry picked from commit d378b1f8ed7919f65a89f026bc899204be3773d4)

Co-authored-by: Chris Rands &lt;c_rands100@hotmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit d378b1f8ed7919f65a89f026bc899204be3773d4)

Co-authored-by: Chris Rands &lt;c_rands100@hotmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
