<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>gh-103606: Improve error message from logging.config.FileConfig (GH-103628)</title>
<updated>2023-05-18T04:20:47+00:00</updated>
<author>
<name>Prince Roshan</name>
<email>princekrroshan01@gmail.com</email>
</author>
<published>2023-05-18T04:20:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=152227b569c3a9b87fe0483706f704762ced6d75'/>
<id>152227b569c3a9b87fe0483706f704762ced6d75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-102153: Start stripping C0 control and space chars in `urlsplit` (#102508)</title>
<updated>2023-05-17T08:49:20+00:00</updated>
<author>
<name>Illia Volochii</name>
<email>illia.volochii@gmail.com</email>
</author>
<published>2023-05-17T08:49:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f630e1ce18ad2e07428296532a68b11dc66ad10'/>
<id>2f630e1ce18ad2e07428296532a68b11dc66ad10</id>
<content type='text'>
`urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit #25595.

This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/#url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329).

---------

Co-authored-by: Gregory P. Smith [Google] &lt;greg@krypto.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit #25595.

This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/#url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329).

---------

Co-authored-by: Gregory P. Smith [Google] &lt;greg@krypto.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-104539: Fix indentation error in logging.config.rst (#104545)</title>
<updated>2023-05-16T12:13:53+00:00</updated>
<author>
<name>Jesper Noordsij</name>
<email>45041769+jnoordsij@users.noreply.github.com</email>
</author>
<published>2023-05-16T12:13:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0bb61dd5b0ffc248e18f1b33cddd18788f28e60a'/>
<id>0bb61dd5b0ffc248e18f1b33cddd18788f28e60a</id>
<content type='text'>
Fix indentation error in logging.config.rst</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix indentation error in logging.config.rst</pre>
</div>
</content>
</entry>
<entry>
<title>gh-69152: add method get_proxy_response_headers to HTTPConnection class (#104248)</title>
<updated>2023-05-16T06:20:30+00:00</updated>
<author>
<name>Alexey Namyotkin</name>
<email>62434915+nametkin@users.noreply.github.com</email>
</author>
<published>2023-05-16T06:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=85ec192ac4b000d4e47df6123b65eacbd1fdccfa'/>
<id>85ec192ac4b000d4e47df6123b65eacbd1fdccfa</id>
<content type='text'>
Add http.client.HTTPConnection method get_proxy_response_headers() - this is a followup to https://github.com/python/cpython/pull/26152 which added it as a non-public attribute. This way we don't pre-compute a headers dictionary that most users will never access. The new method is properly public and documented and triggers full proxy header parsing into a dict only when actually called.

---------

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add http.client.HTTPConnection method get_proxy_response_headers() - this is a followup to https://github.com/python/cpython/pull/26152 which added it as a non-public attribute. This way we don't pre-compute a headers dictionary that most users will never access. The new method is properly public and documented and triggers full proxy header parsing into a dict only when actually called.

---------

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103763: Implement PEP 695 (#103764)</title>
<updated>2023-05-16T03:36:23+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2023-05-16T03:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=24d8b88420b81fc60aeb0cbcacef1e72d633824a'/>
<id>24d8b88420b81fc60aeb0cbcacef1e72d633824a</id>
<content type='text'>
This implements PEP 695, Type Parameter Syntax. It adds support for:

- Generic functions (def func[T](): ...)
- Generic classes (class X[T](): ...)
- Type aliases (type X = ...)
- New scoping when the new syntax is used within a class body
- Compiler and interpreter changes to support the new syntax and scoping rules 

Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;
Co-authored-by: Eric Traut &lt;eric@traut.com&gt;
Co-authored-by: Larry Hastings &lt;larry@hastings.org&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements PEP 695, Type Parameter Syntax. It adds support for:

- Generic functions (def func[T](): ...)
- Generic classes (class X[T](): ...)
- Type aliases (type X = ...)
- New scoping when the new syntax is used within a class body
- Compiler and interpreter changes to support the new syntax and scoping rules 

Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;
Co-authored-by: Eric Traut &lt;eric@traut.com&gt;
Co-authored-by: Larry Hastings &lt;larry@hastings.org&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-67056: document that registering/unregistering an atexit func from within an atexit func is undefined (#104473)</title>
<updated>2023-05-15T08:12:52+00:00</updated>
<author>
<name>Irit Katriel</name>
<email>1055913+iritkatriel@users.noreply.github.com</email>
</author>
<published>2023-05-15T08:12:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b15a1a6ac6ea0d7792036e639e90f0e51400c2ee'/>
<id>b15a1a6ac6ea0d7792036e639e90f0e51400c2ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)</title>
<updated>2023-05-15T08:02:44+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-05-15T08:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=146106a0f1cc61815fa33f0d3f808a3e3e3275be'/>
<id>146106a0f1cc61815fa33f0d3f808a3e3e3275be</id>
<content type='text'>
Also include Python 3.12 in the list of accepted versions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also include Python 3.12 in the list of accepted versions.</pre>
</div>
</content>
</entry>
<entry>
<title> gh-104337: Clarify random.gammavariate doc entry  (#104410)</title>
<updated>2023-05-14T18:45:54+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2023-05-14T18:45:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88c5c586708dcff369c49edae947d487a80f0346'/>
<id>88c5c586708dcff369c49edae947d487a80f0346</id>
<content type='text'>
* gh-104337: Clarify random.gammavariate doc entry

* Fix parameter markup.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gh-104337: Clarify random.gammavariate doc entry

* Fix parameter markup.</pre>
</div>
</content>
</entry>
<entry>
<title>Minor improvements to typing docs (#104465)</title>
<updated>2023-05-14T11:53:15+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2023-05-14T11:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f7b5e458e9189fa1ffd44339848aa1e52add3fa'/>
<id>2f7b5e458e9189fa1ffd44339848aa1e52add3fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)</title>
<updated>2023-05-13T08:55:35+00:00</updated>
<author>
<name>Alex Waygood</name>
<email>Alex.Waygood@Gmail.com</email>
</author>
<published>2023-05-13T08:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c527eb1c2a473df01c19195b378f780e9180fd1c'/>
<id>c527eb1c2a473df01c19195b378f780e9180fd1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
