<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, branch backport-5a88d50-3.8</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.8] bpo-27657: Fix urlparse() with numeric paths (GH-661)</title>
<updated>2019-10-18T13:51:12+00:00</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2019-10-18T13:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=94f32caf49627bbc30e188af49f8ee69c9850ad9'/>
<id>94f32caf49627bbc30e188af49f8ee69c9850ad9</id>
<content type='text'>
* bpo-27657: Fix urlparse() with numeric paths

Revert parsing decision from bpo-754016 in favor of the documented
consensus in bpo-16932 of how to treat strings without a // to
designate the netloc.

* bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs.
(cherry picked from commit 5a88d50ff013a64fbdb25b877c87644a9034c969)

Co-authored-by: Tim Graham &lt;timograham@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-27657: Fix urlparse() with numeric paths

Revert parsing decision from bpo-754016 in favor of the documented
consensus in bpo-16932 of how to treat strings without a // to
designate the netloc.

* bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs.
(cherry picked from commit 5a88d50ff013a64fbdb25b877c87644a9034c969)

Co-authored-by: Tim Graham &lt;timograham@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor typos in What's New in Python 3.8. (GH-16770)</title>
<updated>2019-10-18T07:55:22+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-18T07:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=de812682a674cdf2bac0f9547200f107069781ad'/>
<id>de812682a674cdf2bac0f9547200f107069781ad</id>
<content type='text'>
Added periods at the end of the sentences.
(cherry picked from commit b1fa72a5b7e8666a40b6899d5d54778a2a42c3e8)

Co-authored-by: Jero Bado &lt;tokidokitalkyou@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added periods at the end of the sentences.
(cherry picked from commit b1fa72a5b7e8666a40b6899d5d54778a2a42c3e8)

Co-authored-by: Jero Bado &lt;tokidokitalkyou@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Add missing entry for functools.cached_property (GH-16803)</title>
<updated>2019-10-18T07:21:05+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-18T07:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=380d443a6ac73cb4719d86fd5781544630bcec5e'/>
<id>380d443a6ac73cb4719d86fd5781544630bcec5e</id>
<content type='text'>
(cherry picked from commit 93b81e1fcbeb61c1b49ac2fa52c5a0dff929940b)

Co-authored-by: Stéphane Wirtel &lt;stephane@wirtel.be&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 93b81e1fcbeb61c1b49ac2fa52c5a0dff929940b)

Co-authored-by: Stéphane Wirtel &lt;stephane@wirtel.be&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)</title>
<updated>2019-10-18T03:48:42+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-18T03:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c615db608dbb36a5d10188f7d265dcec7bfcc3cf'/>
<id>c615db608dbb36a5d10188f7d265dcec7bfcc3cf</id>
<content type='text'>
Also updates the documentation to clarify the situation surrounding
the digestmod parameter that is required despite its position in the
argument list as of 3.8.0 as well as removing old python2 era
references to "binary strings".

We indavertently had this raise ValueError in 3.8.0 for the missing
arg.  This is not considered an API change as no reasonable code would
be catching this missing argument error in order to handle it.
(cherry picked from commit f33c57d5c780da1500619f548585792bb5b750ee)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also updates the documentation to clarify the situation surrounding
the digestmod parameter that is required despite its position in the
argument list as of 3.8.0 as well as removing old python2 era
references to "binary strings".

We indavertently had this raise ValueError in 3.8.0 for the missing
arg.  This is not considered an API change as no reasonable code would
be catching this missing argument error in order to handle it.
(cherry picked from commit f33c57d5c780da1500619f548585792bb5b750ee)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)</title>
<updated>2019-10-16T17:46:29+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-16T17:46:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7773d391f8261a97af502ecfa74a2a588ee05f36'/>
<id>7773d391f8261a97af502ecfa74a2a588ee05f36</id>
<content type='text'>
(cherry picked from commit 7aebbd1182bc818324656b2fb764679faf51fdff)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7aebbd1182bc818324656b2fb764679faf51fdff)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815)</title>
<updated>2019-10-16T08:36:57+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-16T08:36:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=afbcd9f26d1bf5390f56f18c9afbf753e48f230d'/>
<id>afbcd9f26d1bf5390f56f18c9afbf753e48f230d</id>
<content type='text'>
main() is now responsible to send the ANSWER, rather than
ServerProto. main() now waits until it got the HELLO before sending
the ANSWER over the new transport.

Previously, there was a race condition between main() replacing the
protocol and the protocol sending the ANSWER once it gets the HELLO.

TLSv1.3 was disabled for the test: reenable it.
(cherry picked from commit fab4ef2df0857ab0c97f3058ac5ec3280c4eb891)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
main() is now responsible to send the ANSWER, rather than
ServerProto. main() now waits until it got the HELLO before sending
the ANSWER over the new transport.

Previously, there was a race condition between main() replacing the
protocol and the protocol sending the ANSWER once it gets the HELLO.

TLSv1.3 was disabled for the test: reenable it.
(cherry picked from commit fab4ef2df0857ab0c97f3058ac5ec3280c4eb891)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update doc switcher list for 3.8.0 (GH-16809)</title>
<updated>2019-10-15T21:33:34+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-15T21:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2d647c0728d82a143bc20707258a7a1be0366558'/>
<id>2d647c0728d82a143bc20707258a7a1be0366558</id>
<content type='text'>
(cherry picked from commit 3f36043db22361500f52634f2b8de49dde0e7da9)

Co-authored-by: Ned Deily &lt;nad@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 3f36043db22361500f52634f2b8de49dde0e7da9)

Co-authored-by: Ned Deily &lt;nad@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Typo fix - implemention should be implementation (GH-16806)</title>
<updated>2019-10-15T21:09:19+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-15T21:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8ca282f12a91551368321f828a1d482df75fe920'/>
<id>8ca282f12a91551368321f828a1d482df75fe920</id>
<content type='text'>
(cherry picked from commit 2798b60c55619d8981288b69c20ba4a09efc7b0b)

Co-authored-by: Hansraj Das &lt;raj.das.136@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2798b60c55619d8981288b69c20ba4a09efc7b0b)

Co-authored-by: Hansraj Das &lt;raj.das.136@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38478: Correctly handle keyword argument with same name as positional-only parameter (GH-16800)</title>
<updated>2019-10-15T12:02:34+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-15T12:02:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f705f8e9b58955d0d9083e98d71ba01b2e69798c'/>
<id>f705f8e9b58955d0d9083e98d71ba01b2e69798c</id>
<content type='text'>
(cherry picked from commit f3ef06a7cb347ab7bd3cc2b0b3dcebe4f9ff36f9)

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

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.8] bpo-36389: Backport debug enhancements from master (GH-16796)</title>
<updated>2019-10-15T01:06:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-15T01:06:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f82ce5b1b12873b65927149a016be6a7c65e979d'/>
<id>f82ce5b1b12873b65927149a016be6a7c65e979d</id>
<content type='text'>
* bpo-36389: _PyObject_CheckConsistency() available in release mode (GH-16612)

bpo-36389, bpo-38376: The _PyObject_CheckConsistency() function is
now also available in release mode. For example, it can be used to
debug a crash in the visit_decref() function of the GC.

Modify the following functions to also work in release mode:

* _PyDict_CheckConsistency()
* _PyObject_CheckConsistency()
* _PyType_CheckConsistency()
* _PyUnicode_CheckConsistency()

Other changes:

* _PyMem_IsPtrFreed(ptr) now also returns 1 if ptr is NULL
  (equals to 0).
* _PyBytesWriter_CheckConsistency() now returns 1 and is only used
  with assert().
* Reorder _PyObject_Dump() to write safe fields first, and only
  attempt to render repr() at the end.

(cherry picked from commit 6876257eaabdb30f27ebcbd7d2557278ce2e5705)

* bpo-36389: Fix _PyBytesWriter in release mode (GH-16624)

Fix _PyBytesWriter API when Python is built in release mode with
assertions.

(cherry picked from commit 60ec6efd96d95476fe5e38c491491add04f026e5)

* bpo-38070: Enhance visit_decref() debug trace (GH-16631)

subtract_refs() now pass the parent object to visit_decref() which
pass it to _PyObject_ASSERT(). So if the "is freed" assertion fails,
the parent is used in debug trace, rather than the freed object. The
parent object is more likely to contain useful information. Freed
objects cannot be inspected are are displayed as "&lt;object at xxx is
freed&gt;" with no other detail.

(cherry picked from commit 4d5f94b8cd20f804c7868c5395a15aa6032f874c)

* Fix also a typo in PYMEM_DEADBYTE macro comment

* bpo-36389: Add newline to _PyObject_AssertFailed() (GH-16629)

Add a newline between the verbose object dump and the Py_FatalError()
logs for readability.

(cherry picked from commit 7775349895088a7ae68cecf0c74cf817f15e2c74)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-36389: _PyObject_CheckConsistency() available in release mode (GH-16612)

bpo-36389, bpo-38376: The _PyObject_CheckConsistency() function is
now also available in release mode. For example, it can be used to
debug a crash in the visit_decref() function of the GC.

Modify the following functions to also work in release mode:

* _PyDict_CheckConsistency()
* _PyObject_CheckConsistency()
* _PyType_CheckConsistency()
* _PyUnicode_CheckConsistency()

Other changes:

* _PyMem_IsPtrFreed(ptr) now also returns 1 if ptr is NULL
  (equals to 0).
* _PyBytesWriter_CheckConsistency() now returns 1 and is only used
  with assert().
* Reorder _PyObject_Dump() to write safe fields first, and only
  attempt to render repr() at the end.

(cherry picked from commit 6876257eaabdb30f27ebcbd7d2557278ce2e5705)

* bpo-36389: Fix _PyBytesWriter in release mode (GH-16624)

Fix _PyBytesWriter API when Python is built in release mode with
assertions.

(cherry picked from commit 60ec6efd96d95476fe5e38c491491add04f026e5)

* bpo-38070: Enhance visit_decref() debug trace (GH-16631)

subtract_refs() now pass the parent object to visit_decref() which
pass it to _PyObject_ASSERT(). So if the "is freed" assertion fails,
the parent is used in debug trace, rather than the freed object. The
parent object is more likely to contain useful information. Freed
objects cannot be inspected are are displayed as "&lt;object at xxx is
freed&gt;" with no other detail.

(cherry picked from commit 4d5f94b8cd20f804c7868c5395a15aa6032f874c)

* Fix also a typo in PYMEM_DEADBYTE macro comment

* bpo-36389: Add newline to _PyObject_AssertFailed() (GH-16629)

Add a newline between the verbose object dump and the Py_FatalError()
logs for readability.

(cherry picked from commit 7775349895088a7ae68cecf0c74cf817f15e2c74)
</pre>
</div>
</content>
</entry>
</feed>
