<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch v3.11.0b2</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>gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849)</title>
<updated>2022-05-28T18:31:06+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-28T18:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=85cb7f08eda7b12a6105003aa251c9e177351d91'/>
<id>85cb7f08eda7b12a6105003aa251c9e177351d91</id>
<content type='text'>
(cherry picked from commit 7fa9b7daa5a8bb5760724ac2d94f5298c60dc905)

Co-authored-by: oda-gitso &lt;105083118+oda-gitso@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7fa9b7daa5a8bb5760724ac2d94f5298c60dc905)

Co-authored-by: oda-gitso &lt;105083118+oda-gitso@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)</title>
<updated>2022-05-28T00:56:30+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-05-28T00:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=36374251aa39c0a89be277fb76439bacc709f8b7'/>
<id>36374251aa39c0a89be277fb76439bacc709f8b7</id>
<content type='text'>
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)

This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL.  However, it has since proven unnecessary to keep the experiment in the repo.  (It can be done as a branch in a fork like normal.)  So here we are removing:

* the configure option
* the macro
* the code enabled by the macro

Automerge-Triggered-By: GH:ericsnowcurrently</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)

This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL.  However, it has since proven unnecessary to keep the experiment in the repo.  (It can be done as a branch in a fork like normal.)  So here we are removing:

* the configure option
* the macro
* the code enabled by the macro

Automerge-Triggered-By: GH:ericsnowcurrently</pre>
</div>
</content>
</entry>
<entry>
<title>gh-92728: Restore re.template, but deprecate it (GH-93161)</title>
<updated>2022-05-25T06:32:20+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-25T06:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=74b205b3eb6432d81d745da1dae4359e42ae76d4'/>
<id>74b205b3eb6432d81d745da1dae4359e42ae76d4</id>
<content type='text'>
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
(cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2)

Co-authored-by: Miro Hrončok &lt;miro@hroncok.cz&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
(cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2)

Co-authored-by: Miro Hrončok &lt;miro@hroncok.cz&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.11] gh-93044: No longer convert the database argument of sqlite3.connect() to bytes (GH-93046) (GH-93048)</title>
<updated>2022-05-21T13:53:58+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-05-21T13:53:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d9a48d2b413194f36111aa54df331d60c5bfde3f'/>
<id>d9a48d2b413194f36111aa54df331d60c5bfde3f</id>
<content type='text'>
Just pass it to the factory as is.
(cherry picked from commit 14c0d33016a967a98155f2e1615660e9328aef5d)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just pass it to the factory as is.
(cherry picked from commit 14c0d33016a967a98155f2e1615660e9328aef5d)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926)</title>
<updated>2022-05-20T09:42:48+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-20T09:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6ec050f6337d2227475594be0706b3cda26c3f0d'/>
<id>6ec050f6337d2227475594be0706b3cda26c3f0d</id>
<content type='text'>
(cherry picked from commit d8537580921b2e02f477ff1a8dedcf82c24ef0c2)

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

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields (GH-92980)</title>
<updated>2022-05-19T20:13:15+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-19T20:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4eb2f407566eac722fb02e610f2327f9f0ed40c4'/>
<id>4eb2f407566eac722fb02e610f2327f9f0ed40c4</id>
<content type='text'>
(cherry picked from commit 403d16fa28764718dcd0536ccb3ab8d05768465d)

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 403d16fa28764718dcd0536ccb3ab8d05768465d)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)</title>
<updated>2022-05-19T15:05:52+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-19T15:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7afccd34a659af6676c17abbd431e58093d25746'/>
<id>7afccd34a659af6676c17abbd431e58093d25746</id>
<content type='text'>
(cherry picked from commit 137fd3d88aa46669f5717734e823f4c594ab2843)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 137fd3d88aa46669f5717734e823f4c594ab2843)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix NULL check in test_type_from_ephemeral_spec in_testcapimodule.c (GH-92863)</title>
<updated>2022-05-17T15:47:50+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-17T15:47:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5c826ef0a5b64157a5943867f2013e82a9ba81f9'/>
<id>5c826ef0a5b64157a5943867f2013e82a9ba81f9</id>
<content type='text'>
(cherry picked from commit 524f03c08ca6688785c0fe99d8f2b385bf92e58f)

Co-authored-by: Dennis Sweeney &lt;36520290+sweeneyde@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 524f03c08ca6688785c0fe99d8f2b385bf92e58f)

Co-authored-by: Dennis Sweeney &lt;36520290+sweeneyde@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix NULL test in _testinternalcapi (GH-92861)</title>
<updated>2022-05-17T01:57:42+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-17T01:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=386583040d3e6b9c44ef6d8f6da61c31c37c7b9e'/>
<id>386583040d3e6b9c44ef6d8f6da61c31c37c7b9e</id>
<content type='text'>
(cherry picked from commit 702e0da000bf28aa20cb7f3893b575d977506495)

Co-authored-by: Dennis Sweeney &lt;36520290+sweeneyde@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 702e0da000bf28aa20cb7f3893b575d977506495)

Co-authored-by: Dennis Sweeney &lt;36520290+sweeneyde@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Check result of utc_to_seconds and skip fold probe in pure Python (GH-91582)</title>
<updated>2022-05-14T14:59:52+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-14T14:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dae3e2fea39067284724a81d9845e21cfac29e5a'/>
<id>dae3e2fea39067284724a81d9845e21cfac29e5a</id>
<content type='text'>
The `utc_to_seconds` call can fail, here's a minimal reproducer on
Linux:

TZ=UTC python -c "from datetime import *; datetime.fromtimestamp(253402300799 + 1)"

The old behavior still raised an error in a similar way, but only
because subsequent calculations happened to fail as well. Better to fail
fast.

This also refactors the tests to split out the `fromtimestamp` and
`utcfromtimestamp` tests, and to get us closer to the actual desired
limits of the functions. As part of this, we also changed the way we
detect platforms where the same limits don't necessarily apply (e.g.
Windows).

As part of refactoring the tests to hit this condition explicitly (even
though the user-facing behvior doesn't change in any way we plan to
guarantee), I noticed that there was a difference in the places that
`datetime.utcfromtimestamp` fails in the C and pure Python versions, which
was fixed by skipping the "probe for fold" logic for UTC specifically —
since UTC doesn't have any folds or gaps, we were never going to find a
fold value anyway. This should prevent some failures in the pure python
`utcfromtimestamp` method on timestamps close to 0001-01-01.

There are two separate news entries for this because one is a
potentially user-facing change, the other is an internal code
correctness change that, if anything, changes some error messages. The
two happen to be coupled because of the test refactoring, but they are
probably best thought of as independent changes.

Fixes GH-91581
(cherry picked from commit 83c0247d47b99f4571e35ea95361436e1d2a61cd)

Co-authored-by: Paul Ganssle &lt;1377457+pganssle@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `utc_to_seconds` call can fail, here's a minimal reproducer on
Linux:

TZ=UTC python -c "from datetime import *; datetime.fromtimestamp(253402300799 + 1)"

The old behavior still raised an error in a similar way, but only
because subsequent calculations happened to fail as well. Better to fail
fast.

This also refactors the tests to split out the `fromtimestamp` and
`utcfromtimestamp` tests, and to get us closer to the actual desired
limits of the functions. As part of this, we also changed the way we
detect platforms where the same limits don't necessarily apply (e.g.
Windows).

As part of refactoring the tests to hit this condition explicitly (even
though the user-facing behvior doesn't change in any way we plan to
guarantee), I noticed that there was a difference in the places that
`datetime.utcfromtimestamp` fails in the C and pure Python versions, which
was fixed by skipping the "probe for fold" logic for UTC specifically —
since UTC doesn't have any folds or gaps, we were never going to find a
fold value anyway. This should prevent some failures in the pure python
`utcfromtimestamp` method on timestamps close to 0001-01-01.

There are two separate news entries for this because one is a
potentially user-facing change, the other is an internal code
correctness change that, if anything, changes some error messages. The
two happen to be coupled because of the test refactoring, but they are
probably best thought of as independent changes.

Fixes GH-91581
(cherry picked from commit 83c0247d47b99f4571e35ea95361436e1d2a61cd)

Co-authored-by: Paul Ganssle &lt;1377457+pganssle@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
