https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
3d43f1d Second round of updates to the descriptor howto guide (GH-22946) (GH-22958) 25 October 2020, 03:39:15 UTC
9cf26b0 bpo-33987: Add master ttk Frame to IDLE search dialogs (GH-22942) (cherry picked from commit 5df6c99cb450fe2f30be681dbf68cd1d34d3bbe4) Co-authored-by: Mark Roseman <mark@markroseman.com> 25 October 2020, 03:36:55 UTC
2cccc29 bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> (cherry picked from commit 2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de> 25 October 2020, 02:53:41 UTC
427cb0a bpo-42127: Document effect of cached_property on key-sharing dictionaries (GH-22930) (GH-22955) 25 October 2020, 02:00:14 UTC
2d49389 bpo-33987: Use master ttk Frame for IDLE config dialog (GH-22943) (cherry picked from commit c579ad14d3b5bb9a45d7b9cc708eaf0bf4884c50) Co-authored-by: Mark Roseman <mark@markroseman.com> 25 October 2020, 01:08:17 UTC
c2c4477 [doc] Fix link to abc.ABCMeta.register in Glossary (GH-22932) (cherry picked from commit e01e442125bbc98e6dab66f38ecc6c45f69e6587) Co-authored-by: Andre Delfino <adelfino@gmail.com> 25 October 2020, 00:33:01 UTC
4efd2de bpo-33987: Use ttk Label on IDLE statusbar (GH-22941) (cherry picked from commit e53e54425d9b7b9b7b082817da104d60bb25e3a2) Co-authored-by: Mark Roseman <mark@markroseman.com> 24 October 2020, 23:53:34 UTC
c17f63f bpo-19072: Update descriptor howto for decorator chaining (GH-22934) (GH-22935) 24 October 2020, 02:01:35 UTC
dc33f79 bpo-41950: Typo in Python 3.9 what's new page (GH-22573) 24 October 2020, 00:11:10 UTC
750a8a9 build(deps): bump actions/upload-artifact from v1 to v2.2.0 (GH-22920) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/upload-artifact/commit/27bce4eee761b5bc643f46a8dfb41b430c8d05f6"><code>27bce4e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/112">GH-112</a> from thboop/main</li> <li><a href="https://github.com/actions/upload-artifact/commit/f8b42f7ab442a66b3d51a5ca02855b194a36ae2d"><code>f8b42f7</code></a> update licensed files</li> <li><a href="https://github.com/actions/upload-artifact/commit/2106e8cf10e032ca9d5724c4c676543febe74f0b"><code>2106e8c</code></a> update contributing.md</li> <li><a href="https://github.com/actions/upload-artifact/commit/db66798ebcfbaa7f3f8ff66bce013213265c30d1"><code>db66798</code></a> Ignore Generated Files in Git PR's</li> <li><a href="https://github.com/actions/upload-artifact/commit/d359fd0772ed6802a84728dd6b09ec99f41a67b7"><code>d359fd0</code></a> Manual Verification of licenses</li> <li><a href="https://github.com/actions/upload-artifact/commit/350822c32f871c559dbe1667c24424e06c4f03e3"><code>350822c</code></a> Add Licensed Workflow and config</li> <li><a href="https://github.com/actions/upload-artifact/commit/abecf4abf4b70bc636949d61150be883b87416c2"><code>abecf4a</code></a> Updated README.md (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/118">GH-118</a>)</li> <li><a href="https://github.com/actions/upload-artifact/commit/604e071d21906545dedcfaf210deae74f8c5276a"><code>604e071</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/126">GH-126</a> from yacaovsnc/main</li> <li><a href="https://github.com/actions/upload-artifact/commit/4560c23b396d494f0cb7066e1d6e258e8feb8051"><code>4560c23</code></a> Check for invalid retention-days input</li> <li><a href="https://github.com/actions/upload-artifact/commit/59018c2f85dd0e101b75544aa87f13bb0c94e0b7"><code>59018c2</code></a> Add an option to specify retention period</li> <li>Additional commits viewable in <a href="https://github.com/actions/upload-artifact/compare/v1...27bce4eee761b5bc643f46a8dfb41b430c8d05f6">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: GH- (dependabot-automerge-start) [//]: GH- (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Automerge-Triggered-By: GH:Mariatta (cherry picked from commit a3c4ceffe61df89cc9ce5c437cae0276521dc83b) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 23 October 2020, 21:51:04 UTC
11ab4fc build(deps): bump actions/cache from v1 to v2.1.2 (GH-22919) Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v2.1.2</h2> <ul> <li>Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds</li> <li>No-op when executing on GHES</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/d1255ad9362389eac595a9ae406b8e8cb3331f16"><code>d1255ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/cache/issues/424">GH-424</a> from actions/dhadka/upload-chunk-size</li> <li><a href="https://github.com/actions/cache/commit/68cfb2ccb73b1982be3fa55e3d7c842697d7f1ed"><code>68cfb2c</code></a> Add units to description</li> <li><a href="https://github.com/actions/cache/commit/cce3c03a74623545a53c433d301f3f7725c72454"><code>cce3c03</code></a> Add new input to action.yml</li> <li><a href="https://github.com/actions/cache/commit/4bceb75b5b7743784c63c94b81c50a485cbdcda0"><code>4bceb75</code></a> Use parseInt instead of Number to handle empty strings</li> <li><a href="https://github.com/actions/cache/commit/a6f1f4b32eec85780fedc5b354a583e9b2999100"><code>a6f1f4b</code></a> Adds input for upload chunk size</li> <li><a href="https://github.com/actions/cache/commit/d606e039ae32f64a8593bf4a37b0bf205c695237"><code>d606e03</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/cache/issues/421">GH-421</a> from actions/dhadka/ghes</li> <li><a href="https://github.com/actions/cache/commit/d3e4f218f30bd71a2c29e2b2a1e4f811f4327162"><code>d3e4f21</code></a> Use warning instead of info</li> <li><a href="https://github.com/actions/cache/commit/55a58944386e69f7c5bad52ef43a61c578b6c1c6"><code>55a5894</code></a> Update dist</li> <li><a href="https://github.com/actions/cache/commit/3f6dfcbcc44a8e2fd9e539c1dd15af6559e74ced"><code>3f6dfcb</code></a> Merge branch 'main' of <a href="http://github.com/actions/cache">http://github.com/actions/cache</a> into dhadka/ghes</li> <li><a href="https://github.com/actions/cache/commit/0f71d4ac9a7f4c36aba5ac3cfc4567d2d4eae813"><code>0f71d4a</code></a> Add tests for isGhes</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v1...d1255ad9362389eac595a9ae406b8e8cb3331f16">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: GH- (dependabot-automerge-start) [//]: GH- (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Automerge-Triggered-By: GH:Mariatta (cherry picked from commit cd0edbc716d64ccd437d97af1eaa3b7a6f0f6de5) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 23 October 2020, 21:48:15 UTC
c437fe3 [3.9] bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088) (GH-22912) shutil.which will not return None anymore for empty str in PATHEXT Empty PATHEXT will now be defaulted to _WIN_DEFAULT_PATHEXT (cherry picked from commit da6f098188c9825f10ae60db8987056b3a54c2e8) Co-authored-by: Christopher Marchfelder <marchfelder@googlemail.com> 23 October 2020, 21:38:05 UTC
f8d96b9 Create a primer section for the descriptor howto guide (GH-22906) (GH0-22918) 23 October 2020, 20:49:32 UTC
69479ec [3.9] bpo-38486: Fix dead qmail links in the mailbox docs (GH-22239) (GH-22901) (cherry picked from commit ec388cfb4ede56dace2bb78851ff6f38fa2a6abe) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Automerge-Triggered-By: GH:warsaw 22 October 2020, 23:55:05 UTC
25687bb bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22899) (cherry picked from commit facb522d44fceaf15de6bc95de1cd680c4621c2a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 22 October 2020, 19:58:04 UTC
f22f874 bpo-25655: Improve Win DLL loading failures doc (GH-22372) Add documentation to help diagnose CDLL dependent DLL loading errors on windows for OSError with message: "[WinError 126] The specified module could not be found" This error is otherwise difficult to diagnose. (cherry picked from commit b6f2fc90409e291822166d74ce7402e0ef4dba91) Co-authored-by: Philippe Ombredanne <pombredanne@gmail.com> 22 October 2020, 16:02:13 UTC
32a9ffd [3.9] Remove 3.5 from Doc version switcher in master. (GH-22886) (#22888) (cherry picked from commit 283f9a253b4ff4df728558205629b3bb3af6e47f) 22 October 2020, 14:29:26 UTC
8f6787d bpo-42057: Add a test case (GH-22878) 22 October 2020, 02:28:36 UTC
07a44d9 bpo-42057: Fix peephole optimizer (GH-22802) 22 October 2020, 02:06:07 UTC
c3538b8 bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) (#22876) See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython. Co-authored-by: Brett Cannon <brett@python.org> 22 October 2020, 00:07:39 UTC
6e842bc bpo-35181: Correct importlib documentation for some module attributes (GH-15190) @ericsnowcurrently This PR will change the following: In the library documentation importlib.rst: - `module.__package__` can be `module.__name__` for packages; - `spec.parent` can be `spec.__name__` for packages; - `spec.loader` is not `None` for namespaces packages. In the language documentation import.rst: - `spec.loader` is not `None` for namespace packages. Automerge-Triggered-By: GH:warsaw (cherry picked from commit 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 21 October 2020, 21:39:41 UTC
224ed37 Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867) This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed ``` Change "Numeric" to "numeric". I believe this is trivial enough to not need an issue or a NEWS entry, although I'm unclear on what branches the original pull request received backports. ``` Automerge-Triggered-By: GH:merwok (cherry picked from commit f8b1ccd63c94bcde1c15d56d24add89861b6ceee) Co-authored-by: kpinc <kop@karlpinc.com> 21 October 2020, 20:54:39 UTC
c3442fd bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) (#22865) While translating the following document to Spanish we found there is a grammar issue on the original documentation. (cherry picked from commit caff2934f46510920a6169e192707d59e9c55f6b) Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com> 21 October 2020, 20:34:29 UTC
ec62b47 [3.9] bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) (GH-22860) [[bpo-39416]()](): Document string representations of the Numeric classes This is a change to the specification of the Python language. The idea here is to put sane minimal limits on the Python language's default representations of its Numeric classes. That way "Marty's Robotic Massage Parlor and Python Interpreter" implementation of Python won't do anything too crazy. Some discussion in the email thread: Subject: Documenting Python's float.__str__() https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/ (cherry picked from commit c60394c7fc9cc09b16e9675a3eeb5844b6d8523f) Co-authored-by: kpinc <kop@karlpinc.com> Automerge-Triggered-By: GH:merwok 21 October 2020, 18:56:16 UTC
871c6cc bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648) (cherry picked from commit faddc7449d07e883b8ad8bb95dd68ce6dbdc06e8) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 21 October 2020, 16:07:13 UTC
fcd776c Doc: Fix a typo/error in the docs for cached bytecode (GH-22445) (cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 October 2020, 08:57:37 UTC
03bfb07 Doc: Do not suggest `s[::-1]` for reversed order (GH-22457) (cherry picked from commit fb2e94692e3a8eb66915575f4a122d56fe8999a0) Co-authored-by: Andre Delfino <adelfino@gmail.com> 21 October 2020, 08:47:54 UTC
f72101b Doc: Do not encourage using a base class name in a derived class (GH-22177) (cherry picked from commit 4642ccd1c3e460cb2746d3f2095f1c1d1bafa4fe) Co-authored-by: Andre Delfino <adelfino@gmail.com> 21 October 2020, 08:11:13 UTC
9e935ad Doc: Remove old Python version from future stmt (GH-21802) (cherry picked from commit eba109a28f48b20b05f08abbe6604eebb07788f9) Co-authored-by: Andre Delfino <adelfino@gmail.com> 21 October 2020, 06:06:29 UTC
7917170 bpo-41316: Make tarfile follow specs for FNAME (GH-21511) tarfile writes full path to FNAME field of GZIP format instead of just basename if user specified absolute path. Some archive viewers may process file incorrectly. Also it creates security issue because anyone can know structure of directories on system and know username or other personal information. RFC1952 says about FNAME: This is the original name of the file being compressed, with any directory components removed. So tarfile must remove directory names from FNAME and write only basename of file. Automerge-Triggered-By: @jaraco (cherry picked from commit 22748a83d927d3da1beaed771be30887c42b2500) Co-authored-by: Artem Bulgakov <ArtemSBulgakov@ya.ru> 21 October 2020, 05:29:00 UTC
19019ec bpo-41646: Mention path-like objects support in the docs for shutil.copy() (GH-22208) (cherry picked from commit 8f2b991eef062c22c429a96983c78be007180b66) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 October 2020, 05:16:42 UTC
d0bfce9 bpo-41744: Package python.props with correct name in NuGet package (GH-22154) NuGet automatically includes .props file from the build directory in the target using the package, but only if the .props file has the correct name: it must be $(id).props Rename python.props correspondingly in all the nuspec variants. Also keep python.props as it were for backward compatibility. (cherry picked from commit 7c11a9accabe3720940f334eb1226bb7bb9179c7) Co-authored-by: Václav Slavík <vaclav@slavik.io> 21 October 2020, 05:15:18 UTC
a1296ed Update idlelib/help.html to current Sphinx output (GH-22833) idle.rst is unchanged (cherry picked from commit a460d45063844a21c20fa8b0d23878165f99f3b5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 21 October 2020, 01:15:23 UTC
d05514a [3.9] bpo-42010: [docs] Clarify subscription of types (GH-22822) (GH-22840) (cherry picked from commit 7cdf30fff39ea97f403b5472096349998d190e30) Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:gvanrossum 20 October 2020, 23:58:49 UTC
46130f8 bpo-41192: Add documentation of undocumented audit events (GH-22831) (cherry picked from commit 3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7) 20 October 2020, 20:05:13 UTC
d12afba bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817) (cherry picked from commit 6d883fbe14751b58d9ed2fd708322613d8931035) Co-authored-by: Steve Dower <steve.dower@python.org> 20 October 2020, 17:20:05 UTC
b948d13 [3.9] bpo-41192: Clarify the sys module's description of the auditing feature (GH-22821) Co-authored-by: Éric Araujo <merwok@netwok.org> (cherry picked from commit 0c37269be7065b9b15b7b3a4406084f9535a793a) 20 October 2020, 15:36:52 UTC
4aed781 Doc: Add missing spaces after period for `posix_spawn` (GH-22730) (cherry picked from commit 5b57fa69408c4856bf0ae02f2eaa3db1ef980ea6) Co-authored-by: Tomer Cohen <tomer@users.noreply.github.com> 20 October 2020, 15:01:56 UTC
b249aea bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639) Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com> (cherry picked from commit ec42789e6e14f6b6ac13569aeadc13798d7173a8) Closes bpo-39693. 20 October 2020, 14:31:03 UTC
38a17d0 bpo-41726: Update the refcounts info of PyType_FromModuleAndSpec in refcounts.dat (GH-22112) (GH-22808) Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat (cherry picked from commit 1e2f051a6127904cfee5f9e4021dd6e4a4d51c0f) Co-authored-by: Hai Shi <shihai1992@gmail.com> 20 October 2020, 12:30:04 UTC
bd9d76b bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281) (cherry picked from commit ff1ae3dd334faa2006394c2318db385cdc42030a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 20 October 2020, 12:23:39 UTC
c17ff5c bpo-38324: Fix test__locale.py Windows failures (GH-20529) Use wide-char _W_* fields of lconv structure on Windows Remove "ps_AF" from test__locale.known_numerics on Windows (cherry picked from commit f2312037e3a974d26ed3e23884f94c6af111a27a) Co-authored-by: TIGirardi <tiagoigirardi@gmail.com> 20 October 2020, 12:07:14 UTC
3fc7080 bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) (GH-22806) (cherry picked from commit 3185267400be853404f22a1e06bb9fe1210735c7) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 20 October 2020, 08:05:21 UTC
aa7b03b bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) (GH-22773) (cherry picked from commit 93a1ccabdede416425473329b8c718d507c55e29) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 20 October 2020, 07:17:22 UTC
479553c bpo-42051: Reject XML entity declarations in plist files (GH-22760) (cherry picked from commit 05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 20 October 2020, 02:34:37 UTC
e43bee7 bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691) Reduces the rate at which the ENV CHANGED failure occurs in test_asyncio SSL tests (due to unclosed transport), but does not 100% resolve it. (cherry picked from commit de73d432bb29f6439f2db16cb991e15e09c70c26) Co-authored-by: Justin Turner Arthur <justinarthur@gmail.com> 20 October 2020, 01:40:01 UTC
72ce82a bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) This PR replaces GH-1977. The reason for the replacement is two-fold. The fix itself is different is that if the CTE header doesn't exist in the original message, it is inserted. This is important because the new CTE could be quoted-printable whereas the original is implicit 8bit. Also the tests are different. The test_nonascii_as_string_without_cte test in GH-1977 doesn't actually test the issue in that it passes without the fix. The test_nonascii_as_string_without_content_type_and_cte test is improved here, and even though it doesn't fail without the fix, it is included for completeness. Automerge-Triggered-By: @warsaw (cherry picked from commit bf838227c35212709dc43b3c3c57f8e1655c1d24) Co-authored-by: Mark Sapiro <mark@msapiro.net> 19 October 2020, 23:11:37 UTC
335eb57 [doc] Add link to Generic in typing (GH-22125) (cherry picked from commit 5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3) Co-authored-by: Andre Delfino <adelfino@gmail.com> 19 October 2020, 23:08:19 UTC
9308173 bpo-40901: Describe what "interface name" means on Windows (GH-20694) (cherry picked from commit f85658a09878c658ae0e0590bfa30e4ce51c9a04) Co-authored-by: Jakub Stasiak <jakub@stasiak.at> 19 October 2020, 22:49:55 UTC
6a9c126 Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) (GH-22761) (cherry picked from commit cf693e537dc8aaa14315a7f59baec4a31d1167d3) Co-authored-by: Saiyang Gou <gousaiyang@163.com> Co-authored-by: Saiyang Gou <gousaiyang@163.com> 19 October 2020, 22:44:06 UTC
05d52a0 bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) Co-authored-by: Christian Heimes <christian@python.org> (cherry picked from commit 5456e78f4593edc277ab72fb9a9db1ebae7d4c2d) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 19 October 2020, 22:32:36 UTC
b62ecc2 bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8). (cherry picked from commit 4dfb190a33a1deac60306f15d52d2fe11fb93464) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 October 2020, 22:30:39 UTC
e67f186 bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) (cherry picked from commit 33242a9328cb3912f02819d2d092bf89681000b2) Co-authored-by: Michel Samia <m.samia@seznam.cz> 19 October 2020, 22:24:05 UTC
9b5e373 Link to the msvcrt module from the Windows FAQ (GH-22268) (cherry picked from commit 5d9e6575177f3e5f9aa20d6a08ae1204f122e672) Co-authored-by: abdo <abd.nh25@gmail.com> 19 October 2020, 22:08:36 UTC
6b487e0 Remove extra pip package (GH-22778) 19 October 2020, 20:05:04 UTC
a358a0a bpo-40484: Document compiler flags under AST module (GH-19885) (GH-22758) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> (cherry picked from commit 155938907c2b3df71608ddeaa0a43d2ec1f2c699) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> 19 October 2020, 19:29:38 UTC
8f0b8b5 Correct name of bytecode in change note. (GH-22723) (#22765) (cherry picked from commit b580ed1d9d55461d8dde027411b90be26cae131e) Co-authored-by: Mark Shannon <mark@hotpy.org> 19 October 2020, 15:44:25 UTC
2ee6ef9 bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22767) (cherry picked from commit ebc8c3828779374b9be4fae5c8ffc0059d36ac8c) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 19 October 2020, 15:39:25 UTC
7c94902 bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910) (cherry picked from commit 3c0ac18504cfeed822439024339d5717f42bdd66) 18 October 2020, 21:16:22 UTC
e5c7ac7 3.9 whatsnew: fix bpo issue for AST change (GH-22742) (GH-22749) (cherry picked from commit 67f04878debbcec60191cddbddf9c83e8b9b36fe) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 18 October 2020, 17:16:54 UTC
a055ced bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731) (GH-22747) (cherry picked from commit c304c9a7efa8751b5bc7526fa95cd5f30aac2b92) Co-authored-by: scaramallion <scaramallion@users.noreply.github.com> 18 October 2020, 15:32:56 UTC
6a2aa49 bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message (GH-19940) (cherry picked from commit 3635388f52b42e5280229104747962117104c453) Co-authored-by: Max Bernstein <tekknolagi@users.noreply.github.com> 18 October 2020, 06:00:18 UTC
0fbddb1 bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726) (GH-22727) (cherry picked from commit a22a19f3548f6064035e7c59a19cda1e9506db92) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com> 16 October 2020, 20:27:59 UTC
dff9161 bpo-42011: Update documentation of logging.Filter.filter() (GH-22692) (GH-22725) (cherry picked from commit e9959c71185d0850c84e3aba0301fbc238f194a9) 16 October 2020, 17:21:49 UTC
b30934e [3.9] Fix incorrect parameter name (GH-22613) (GH-22628) Automerge-Triggered-By: @Mariatta (cherry picked from commit a42759351bff7b07fa8bf2cece0088f8539721d1) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com> 15 October 2020, 17:25:28 UTC
78723b3 Minor clarification (GH-22708) (GH-22709) 15 October 2020, 07:09:33 UTC
d197b2b bpo-41984: GC track all user classes (GH-22701/GH-22702) (cherry picked from commit c13b847a6f913b72eeb71651ff626390b738d973) 15 October 2020, 03:38:25 UTC
f07448b bpo-41894: Fix UnicodeDecodeError while loading native module (GH-22466) When running in a non-UTF-8 locale, if an error occurs while importing a native Python module (say because a dependent share library is missing), the error message string returned may contain non-ASCII code points causing a UnicodeDecodeError. PyUnicode_DecodeFSDefault is used for buffers which may contain filesystem paths. For consistency with os.strerror(), PyUnicode_DecodeLocale is used for buffers which contain system error messages. While the shortname parameter is always encoded in ASCII according to PEP 489, it is left decoded using PyUnicode_FromString to minimize the changes and since it should not affect the decoding (albeit _potentially_ slower). In dynload_hpux, since the error buffer contains a message generated from a static ASCII string and the module filesystem path, PyUnicode_DecodeFSDefault is used instead of PyUnicode_DecodeLocale as is used elsewhere. * bpo-41894: Fix bugs in dynload error msg handling For both dynload_aix and dynload_hpux, properly handle the possibility that decoding strings may return NULL and when such an error happens, properly decrement any previously decoded strings and return early. In addition, in dynload_aix, ensure that we pass the decoded string *object* pathname_ob to PyErr_SetImportError instead of the original pathname buffer. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 2d2af320d94afc6561e8f8adf174c9d3fd9065bc) Co-authored-by: Kevin Adler <kadler@us.ibm.com> 15 October 2020, 02:25:45 UTC
69f040c Update timings for the final release (GH-22697) (GH-22698) 14 October 2020, 17:29:10 UTC
391a544 bpo-41993: Fix possible issues in remove_module() (GH-22631) (GH-22647) * PyMapping_HasKey() is not safe because it silences all exceptions and can return incorrect result. * Informative exceptions from PyMapping_DelItem() are overridden with RuntimeError and the original exception raised before calling remove_module() is lost. * There is a race condition between PyMapping_HasKey() and PyMapping_DelItem(). (cherry picked from commit 8287aadb75f6bd0154996424819334cd3839707c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 October 2020, 09:09:44 UTC
881a13c bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) (cherry picked from commit 6a48518e8dac3521ff387ee67cdf33783114a257) Co-authored-by: Ned Deily <nad@python.org> 14 October 2020, 01:59:41 UTC
270a2fb Improve recipe readability (GH-22685) (GH-22686) 14 October 2020, 00:19:05 UTC
5f0007f Add recipe for a version of random() with a larger population (GH-22664) (GH-22684) 13 October 2020, 19:38:13 UTC
afe8606 bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660) Fix a null pointer dereference in tracemalloc_copy_trace() of _tracemalloc. (cherry picked from commit 66c28f50c76e4f23af7146e0e580457c5fd6bde7) Co-authored-by: Yunlongs <lylgood@foxmail.com> 13 October 2020, 07:09:08 UTC
15ef19f Fix typo in "Context manager types" section in typing.rst (GH-22676) Fix typo in the "Context manager types" section in `typing.rst`. Automerge-Triggered-By: @gvanrossum (cherry picked from commit ba06a70c822ede62688136add488eb78957689fe) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 12 October 2020, 23:55:24 UTC
1c21765 [3.9] bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH-22619) (#22624) There are two different `SimpleQueue` types imported (from `multiprocessing.queues` and `queue`) in `Lib/test/test_genericalias.py`, the second one shadowing the first one, making the first one not actually tested. Fix by using different names. Automerge-Triggered-By: @gvanrossum. (cherry picked from commit b2c0a43699bd9023a69e3fa554f5488a2e17e278) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 12 October 2020, 23:52:03 UTC
8a12503 bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure m_self is kept alive long enough (GH-22670) (cherry picked from commit 04b8631d84a870dda456ef86039c1baf34d08500) Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net> 12 October 2020, 21:29:01 UTC
85d5964 [doc] Fix typo in the graphlib docs (GH-22661) (GH-22669) Automerge-Triggered-By: @pablogsal (cherry picked from commit abe244c458f2b1a727af4d2a56f71813e501bcb4) Co-authored-by: linchiwei123 <40888469+linchiwei123@users.noreply.github.com> Co-authored-by: linchiwei123 <40888469+linchiwei123@users.noreply.github.com> 12 October 2020, 20:27:05 UTC
372a9e2 Fix typo (GH-22582) /af/of/s Automerge-Triggered-By: @Mariatta (cherry picked from commit 8197a93208fea3b56e012272b6cf3f0c2c582d4a) Co-authored-by: Gaurav Kamath <st0le@users.noreply.github.com> 12 October 2020, 13:53:10 UTC
f5393dc bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (GH-22655) (GH-22656) The test now waits until all threads complete to avoid leaking running threads. Also, use regular threads rather than daemon threads. (cherry picked from commit 13ff396c019d548ba181cf22c6f39309a300723c) 12 October 2020, 04:30:48 UTC
4af6729 bpo-41971: Fix test failure in test.test_tools.test_c_analyzer when mutating global state (GH-22652) (GH-22653) (cherry picked from commit 47ecfd8030c391779dd9d3b4b07e6b01a8392481) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 11 October 2020, 20:54:35 UTC
f1c70cf Fix typo in typing.rst (GH-22625) (cherry picked from commit 0ff8a3b374286d2218fc18f47556a5ace202dad3) Co-authored-by: abdo <abd.nh25@gmail.com> 11 October 2020, 08:06:48 UTC
ebc5a6b bpo-41986: Add Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode back to limited API (GH-22621) (cherry picked from commit 637a09b0d6e3ad4e34e0b5e0fc82f5afeae6f74b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 October 2020, 14:32:09 UTC
20bdeed [3.9] bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734) (GH-22039) (cherry picked from commit 5f0769a) Co-authored-by: Nathan M <nathanmaynes@gmail.com> 10 October 2020, 04:39:09 UTC
1f75fc7 bpo-41831: Restore str implementation of __str__ in tkinter.EventType (GH-22355) (cherry picked from commit eb38c6b7aa35d3003ec0958533421902d19ce408) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 October 2020, 20:20:48 UTC
43c3eaf bpo-41831: Add tests for tkinter.Event.__repr__ (GH-22354) (GH-22617) (cherry picked from commit f25323a307a72c40862c87c2df822f83be6645da) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 October 2020, 19:56:19 UTC
42157b9 [3.9] bpo-41979: Accept star-unpacking on with-item targets (GH-22611) (GH-22612) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> Automerge-Triggered-By: @pablogsal 09 October 2020, 10:31:07 UTC
c6f41e6 [3.9] bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (GH-22595) (GH-22609) (cherry picked from commit 4a9f82f50d957b6cf3fd207de8b583d9137316b8) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 09 October 2020, 10:08:42 UTC
3da210b Fix the attribute names in the docstring of GenericAlias (GH-22594) (cherry picked from commit 77f0a23e7a9fb247101b9b14a060c4ba1c4b87a5) Co-authored-by: Mikhail Golubev <qsolo825@gmail.com> 08 October 2020, 22:02:26 UTC
089c386 bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960) (cherry picked from commit bfe6e03cd6931813dd61b50f5fdf7d8a8848f4cd) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 08 October 2020, 19:02:33 UTC
a4ac5fa bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598) (cherry picked from commit 27ac19cca2c639caaf6fedf3632fe6beb265f24f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 08 October 2020, 18:55:24 UTC
15e091f bpo-41306: Allow scale value to not be rounded (GH-21715) This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed). Going into more detail for those who want it, the Tk change was made in [commit 591f68c](https://github.com/tcltk/tk/commit/591f68cb382525b72664c6fecaab87742b6cc87a) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](https://github.com/tcltk/tk/blob/591f68cb382525b72664c6fecaab87742b6cc87a/generic/tkScale.cGH-L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`). Automerge-Triggered-By: @pablogsal (cherry picked from commit aecf036738a404371303e770f4ce4fd9f7d43de7) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> 08 October 2020, 16:50:36 UTC
5b1fdca bpo-41376: Fix the documentation of `site.getusersitepackages()` (GH-21602) `site.getusersitepackages()` returns the location of the user-specific site-packages directory even when the user-specific site-packages is disabled. ``` $ python -s -m site sys.path = [ '/home/user/conda/lib/python37.zip', '/home/user/conda/lib/python3.7', '/home/user/conda/lib/python3.7/lib-dynload', '/home/user/conda/lib/python3.7/site-packages', ] USER_BASE: '/home/user/.local' (exists) USER_SITE: '/home/user/.local/lib/python3.7/site-packages' (doesn't exist) ENABLE_USER_SITE: False ``` It was not practical to prevent the function from returning None if user-specific site-packages are disabled, since there are other uses of the function which are relying on this behaviour (e.g. `python -m site`). (cherry picked from commit 35f041dd0171f575fc3adce1709b31fdf45a5ff6) Co-authored-by: Phil Elson <pelson.pub@gmail.com> 08 October 2020, 07:00:28 UTC
b664a1d bpo-41944: No longer call eval() on content received via HTTP in the CJK codec tests (GH-22566) (cherry picked from commit 2ef5caa58febc8968e670e39e3d37cf8eef3cab8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 October 2020, 12:37:36 UTC
4aad1e5 bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (GH-22505) (cherry picked from commit d02d824e05e2cb86f4df381be18832e76e2c475f) Co-authored-by: Brett Cannon <brett@python.org> 05 October 2020, 17:05:50 UTC
10b4136 bpo-41939: Fix test_site.test_license_exists_at_url() (GH-22559) (#22567) Call urllib.request.urlcleanup() to reset the global urllib.request._opener. (cherry picked from commit 1fce240d6c4b2b2cc17a86e88c65169e15b9feeb) Co-authored-by: Victor Stinner <vstinner@python.org> 05 October 2020, 16:49:41 UTC
1691435 Post 3.9.0 05 October 2020, 16:07:40 UTC
79dd0db Merge tag 'v3.9.0' into 3.9 Python 3.9.0 05 October 2020, 16:05:58 UTC
9cf6752 Python 3.9.0 05 October 2020, 15:07:58 UTC
75dd70e bpo-41774: Tweak new programming FAQ entry (GH-22562) Remove mention of space in "remove multiple items from list". (cherry picked from commit 060937da988347a887a5f165b023d972fcb97802) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 October 2020, 14:53:26 UTC
back to top