[Python-checkins] gh-141831: Document behavior of functools.lru_cache with concurrent access (gh-141869)

2025-11-24 Thread rhettinger
https://github.com/python/cpython/commit/9346e22dd064b8636a77c302648b322f354bdb30 commit: 9346e22dd064b8636a77c302648b322f354bdb30 branch: main author: Satyam Kumar Verman committer: rhettinger date: 2025-11-24T14:36:09Z summary: gh-141831: Document behavior of functools.lru_cache with

[Python-checkins] math.dist documentation: add 'strict=True' to equivalent code (#141819)

2025-11-23 Thread rhettinger
https://github.com/python/cpython/commit/23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87 commit: 23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87 branch: main author: Mark Dufour committer: rhettinger date: 2025-11-23T17:33:27-06:00 summary: math.dist documentation: add 'strict=True' to equiv

[Python-checkins] gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)

2025-11-19 Thread rhettinger
https://github.com/python/cpython/commit/01713b434233247bc54b04512ba5bc15ab364768 commit: 01713b434233247bc54b04512ba5bc15ab364768 branch: main author: Luciano Ramalho committer: rhettinger date: 2025-11-19T12:22:27-06:00 summary: gh-141721: Improve docstring for LastUpdatedOrderedDict example

[Python-checkins] [3.13] Docs: Fix cached calls count in factorial example (gh-140882) (gh-141032)

2025-11-05 Thread rhettinger
https://github.com/python/cpython/commit/2dd0a6ad9c6b94a9ddac716aa894415b74617845 commit: 2dd0a6ad9c6b94a9ddac716aa894415b74617845 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-11-05T12:15:05-06:00 summary:

[Python-checkins] [3.14] Docs: Fix cached calls count in factorial example (gh-140882) (gh-141031)

2025-11-05 Thread rhettinger
https://github.com/python/cpython/commit/19ba59369ef55de3ebea721b9c9926c53532d840 commit: 19ba59369ef55de3ebea721b9c9926c53532d840 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-11-05T12:14:12-06:00 summary:

[Python-checkins] Docs: Fix cached calls count in factorial example (gh-140882)

2025-11-04 Thread rhettinger
https://github.com/python/cpython/commit/1ae900424b3c888d2b2cc97e6ef780717813d658 commit: 1ae900424b3c888d2b2cc97e6ef780717813d658 branch: main author: Clifford Gama committer: rhettinger date: 2025-11-05T00:29:25Z summary: Docs: Fix cached calls count in factorial example (gh-140882) files: M

[Python-checkins] gh-139452: Clarify redirect_stdout, stderr behavior (gh-139490)

2025-10-18 Thread rhettinger
https://github.com/python/cpython/commit/8b9606a2c577b0a0f7f425959a27a8554a9b474f commit: 8b9606a2c577b0a0f7f425959a27a8554a9b474f branch: main author: Cody Maloney committer: rhettinger date: 2025-10-08T08:28:29-05:00 summary: gh-139452: Clarify redirect_stdout, stderr behavior (gh-139490

[Python-checkins] gh-138682: Add symmetric difference to Counter (gh-138766)

2025-09-25 Thread rhettinger
https://github.com/python/cpython/commit/7909b304931ddbded5140985fc51999f4b0c7e42 commit: 7909b304931ddbded5140985fc51999f4b0c7e42 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-09-26T00:04:49-05:00 summary: gh-138682: Add symmetric difference to Counter (gh-138766

[Python-checkins] Revert gh-139075. The sumprod fix needs more work. (gh-139092)

2025-09-18 Thread rhettinger
https://github.com/python/cpython/commit/c25400a4b63563c3aea7c8863e9bc06eeca3acca commit: c25400a4b63563c3aea7c8863e9bc06eeca3acca branch: main author: Raymond Hettinger committer: rhettinger date: 2025-09-18T02:05:27-05:00 summary: Revert gh-139075. The sumprod fix needs more work. (gh-139092

[Python-checkins] Remove unnecessary slice in heapq.py (gh-139087)

2025-09-17 Thread rhettinger
https://github.com/python/cpython/commit/444ebaf16e5d358d4c32011eb8b6ca14858719a0 commit: 444ebaf16e5d358d4c32011eb8b6ca14858719a0 branch: main author: Oleksandr Kravets <[email protected]> committer: rhettinger date: 2025-09-18T00:52:46-05:00 summary:

[Python-checkins] gh-139074: Fix missing high precision case in sumprod() (gh-139075)

2025-09-17 Thread rhettinger
https://github.com/python/cpython/commit/b485e50fde3be08d796a2dac66cb822da1226bb3 commit: b485e50fde3be08d796a2dac66cb822da1226bb3 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-09-17T16:50:15-05:00 summary: gh-139074: Fix missing high precision case in sumprod() (gh

[Python-checkins] Add random_derangement recipe gh-138377

2025-09-04 Thread rhettinger
https://github.com/python/cpython/commit/f9a40c386d4d07dab1c15c6618807306a5119818 commit: f9a40c386d4d07dab1c15c6618807306a5119818 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-09-04T10:50:29-05:00 summary: Add random_derangement recipe gh-138377 files: M Doc/library

[Python-checkins] Improve readability by adding whitespace between code paragraphs (gh-138090)

2025-08-23 Thread rhettinger
https://github.com/python/cpython/commit/6fcac09401e336b25833dcef2610d498e73b27a1 commit: 6fcac09401e336b25833dcef2610d498e73b27a1 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-08-23T15:18:46Z summary: Improve readability by adding whitespace between code paragraphs

[Python-checkins] gh-137239: Add *_max functions to heapq.__all__ (gh-137241)

2025-07-30 Thread rhettinger
https://github.com/python/cpython/commit/5f35f9b8fad50670604552062c1df8fbdff835ab commit: 5f35f9b8fad50670604552062c1df8fbdff835ab branch: main author: Stan Ulbrych <[email protected]> committer: rhettinger date: 2025-07-30T16:12:14-05:00 summary: gh-13723

[Python-checkins] Add example of min-heap and max-heap working together (gh-137251)

2025-07-30 Thread rhettinger
https://github.com/python/cpython/commit/dc05d475c149289749f6131e3c0c4c1d2c492c8e commit: dc05d475c149289749f6131e3c0c4c1d2c492c8e branch: main author: Raymond Hettinger committer: rhettinger date: 2025-07-30T15:53:33-05:00 summary: Add example of min-heap and max-heap working together (gh

[Python-checkins] [3.13] Fix Queue.shutdown docs for condition to unblock a join (gh-137088) (gh-137102)

2025-07-25 Thread rhettinger
https://github.com/python/cpython/commit/eda613438ffec0d7454f8f1345f6b9d9a6851652 commit: eda613438ffec0d7454f8f1345f6b9d9a6851652 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-07-25T08:48:28-06:00 summary:

[Python-checkins] Fix Queue.shutdown docs for condition to unblock a join (gh-137088)

2025-07-25 Thread rhettinger
https://github.com/python/cpython/commit/ea06ae5b5e7b335efbdff03c087fad9980a53f69 commit: ea06ae5b5e7b335efbdff03c087fad9980a53f69 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-07-25T07:56:28-06:00 summary: Fix Queue.shutdown docs for condition to unblock a join (gh

[Python-checkins] [3.13] Fix docs for Queue.shutdown (gh-137028) (gh-137081)

2025-07-24 Thread rhettinger
https://github.com/python/cpython/commit/d9feec4542b158ad8c4e2c2d3d2ee6ce413061d1 commit: d9feec4542b158ad8c4e2c2d3d2ee6ce413061d1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-07-24T11:54:42-06:00 summary:

[Python-checkins] Fix docs for Queue.shutdown (gh-137028)

2025-07-24 Thread rhettinger
https://github.com/python/cpython/commit/245671555b7e33112ae1efd0c26071d7a0e27b3a commit: 245671555b7e33112ae1efd0c26071d7a0e27b3a branch: main author: Raymond Hettinger committer: rhettinger date: 2025-07-24T11:23:03-06:00 summary: Fix docs for Queue.shutdown (gh-137028) files: M Doc/library

[Python-checkins] Minor edit: Improve comment readability and ordering (gh-136557)

2025-07-11 Thread rhettinger
https://github.com/python/cpython/commit/7f1e66ae0e7c6bfa26cc128291d8705abd1a3c93 commit: 7f1e66ae0e7c6bfa26cc128291d8705abd1a3c93 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-07-11T12:36:17-07:00 summary: Minor edit: Improve comment readability and ordering (gh

[Python-checkins] Minor edit: Move comments closer to the code they describe (gh-136477)

2025-07-09 Thread rhettinger
https://github.com/python/cpython/commit/798f791dafb9cc5109ac19b086e98cfa6b943cfd commit: 798f791dafb9cc5109ac19b086e98cfa6b943cfd branch: main author: Raymond Hettinger committer: rhettinger date: 2025-07-09T10:23:46-07:00 summary: Minor edit: Move comments closer to the code they describe (gh

[Python-checkins] gh-133530: Modify Heapq docs image settings (gh-133937)

2025-05-12 Thread rhettinger
https://github.com/python/cpython/commit/d1533115ba3c9e9d3481495f09b09fdb9c795ab1 commit: d1533115ba3c9e9d3481495f09b09fdb9c795ab1 branch: main author: Stan Ulbrych <[email protected]> committer: rhettinger date: 2025-05-12T11:03:28-05:00 summary: gh-

[Python-checkins] gh-133530: Replace binary tree textual digram with image (gh-133591)

2025-05-07 Thread rhettinger
https://github.com/python/cpython/commit/9fcebb361190f5d338253c8864211b17eabc01e9 commit: 9fcebb361190f5d338253c8864211b17eabc01e9 branch: main author: Stan Ulbrych <[email protected]> committer: rhettinger date: 2025-05-07T19:05:06-05:00 summary: gh-

[Python-checkins] gh-132893: Minor edits to the statistics module PR (gh-133106)

2025-04-28 Thread rhettinger
https://github.com/python/cpython/commit/219b1f9d1d97e271213fe324b94ed544e890630b commit: 219b1f9d1d97e271213fe324b94ed544e890630b branch: main author: Raymond Hettinger committer: rhettinger date: 2025-04-28T23:05:37-05:00 summary: gh-132893: Minor edits to the statistics module PR (gh-133106

[Python-checkins] gh-132893: More accurate CDF computation (gh-132895)

2025-04-24 Thread rhettinger
https://github.com/python/cpython/commit/63da5cc1504f066b31374027f637b4b021445d6b commit: 63da5cc1504f066b31374027f637b4b021445d6b branch: main author: Raymond Hettinger committer: rhettinger date: 2025-04-25T00:34:55-05:00 summary: gh-132893: More accurate CDF computation (gh-132895) files: A

[Python-checkins] [3.13] Minor doc edit: Make multinomial() the first math example (gh-132697) (gh-132698)

2025-04-18 Thread rhettinger
https://github.com/python/cpython/commit/151828d52026a1d39e31e60cca53a76e876538f2 commit: 151828d52026a1d39e31e60cca53a76e876538f2 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-04-18T17:47:25Z summary: [3.13]

[Python-checkins] Minor doc edit: Make multinomial() the first math example (gh-132697)

2025-04-18 Thread rhettinger
https://github.com/python/cpython/commit/741c6386b8615fbfb4f2e6027556751039119950 commit: 741c6386b8615fbfb4f2e6027556751039119950 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-04-18T12:41:13-05:00 summary: Minor doc edit: Make multinomial() the first math example (gh

[Python-checkins] [3.13] Fix argument order in multinomial() example (gh-132557) (gh-132560)

2025-04-15 Thread rhettinger
https://github.com/python/cpython/commit/11617d5a7f91256a59974c38114ec5f4ebf540e7 commit: 11617d5a7f91256a59974c38114ec5f4ebf540e7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-04-15T16:56:57Z summary: [3.1

[Python-checkins] Fix argument order in multinomial() example (gh-132557)

2025-04-15 Thread rhettinger
https://github.com/python/cpython/commit/818b6a9eadb7c606bc3faab91de4a76bde66a9ae commit: 818b6a9eadb7c606bc3faab91de4a76bde66a9ae branch: main author: Raymond Hettinger committer: rhettinger date: 2025-04-15T11:50:52-05:00 summary: Fix argument order in multinomial() example (gh-132557) files

[Python-checkins] gh-131269: Minor optimization in random.py (#131270)

2025-04-05 Thread rhettinger
https://github.com/python/cpython/commit/844765b20f993e69fd6b7b70341f636fb84b473d commit: 844765b20f993e69fd6b7b70341f636fb84b473d branch: main author: Sam Gross committer: rhettinger date: 2025-03-20T17:10:33-05:00 summary: gh-131269: Minor optimization in random.py (#131270) files: M Lib

[Python-checkins] gh-131525: Remove `_HashedSeq` wrapper from `lru_cache` (gh-131922)

2025-04-04 Thread rhettinger
https://github.com/python/cpython/commit/0147be09d585e6b5e013ea2d1b24c77500d9a083 commit: 0147be09d585e6b5e013ea2d1b24c77500d9a083 branch: main author: Lukas Geiger committer: rhettinger date: 2025-03-31T08:23:41-05:00 summary: gh-131525: Remove `_HashedSeq` wrapper from `lru_cache` (gh-131922

[Python-checkins] gh-131435: random.randint optimization (gh-131436)

2025-03-20 Thread rhettinger
https://github.com/python/cpython/commit/c83efa7a66e30276c328fa4a5f8f8d26977f3e1c commit: c83efa7a66e30276c328fa4a5f8f8d26977f3e1c branch: main author: dgpb <[email protected]> committer: rhettinger date: 2025-03-20T17:07:28-05:00 summary: gh-131435: random.r

[Python-checkins] Improve docstring for random.binomialvariate (gh-131164)

2025-03-12 Thread rhettinger
https://github.com/python/cpython/commit/25f24b01e3b675c6afbb653f07034a3c9a6aee32 commit: 25f24b01e3b675c6afbb653f07034a3c9a6aee32 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-03-12T13:25:31-05:00 summary: Improve docstring for random.binomialvariate (gh-131164) Add

[Python-checkins] [3.13] gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291) (gh-130416)

2025-02-21 Thread rhettinger
https://github.com/python/cpython/commit/8ef89474b9bf139b509c60faf896e22309a0be78 commit: 8ef89474b9bf139b509c60faf896e22309a0be78 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-02-21T17:56:51Z summary: [3.

[Python-checkins] [3.12] gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291) (gh-130417)

2025-02-21 Thread rhettinger
https://github.com/python/cpython/commit/8db2fa25753c98cde05525406036446770bb2c9c commit: 8db2fa25753c98cde05525406036446770bb2c9c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-02-21T17:48:46Z summary: [3.

[Python-checkins] gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291)

2025-02-21 Thread rhettinger
https://github.com/python/cpython/commit/286c517db0fedf8d923d6f9620bcbbac4333880d commit: 286c517db0fedf8d923d6f9620bcbbac4333880d branch: main author: Raymond Hettinger committer: rhettinger date: 2025-02-21T11:33:10-06:00 summary: gh-130285: Fix handling of zero or empty counts in

[Python-checkins] [3.13] Fix outdated reference link in collections module (gh-130349) (gh-130386)

2025-02-20 Thread rhettinger
https://github.com/python/cpython/commit/ea15cefbf71bab661e2c96f45757408b1bafc81d commit: ea15cefbf71bab661e2c96f45757408b1bafc81d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-02-21T00:22:05Z summary: [3.1

[Python-checkins] [3.12] Fix outdated reference link in collections module (gh-130349) (gh-130387)

2025-02-20 Thread rhettinger
https://github.com/python/cpython/commit/6c4de3259d1aa914aa1cf04e0e9ed5c93434f382 commit: 6c4de3259d1aa914aa1cf04e0e9ed5c93434f382 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-02-21T00:15:48Z summary: [3.1

[Python-checkins] Fix outdated reference link in collections module (gh-130349)

2025-02-20 Thread rhettinger
https://github.com/python/cpython/commit/d63af9540f6163104699a6e09267696307f0d002 commit: d63af9540f6163104699a6e09267696307f0d002 branch: main author: Redddy <[email protected]> committer: rhettinger date: 2025-02-20T23:58:58Z summary: Fix outdated referenc

[Python-checkins] [3.12] Itertool recipe additions (gh-127483) (gh-130362)

2025-02-20 Thread rhettinger
https://github.com/python/cpython/commit/546ac0191f65013b10b8c7943b9e38df7499abf6 commit: 546ac0191f65013b10b8c7943b9e38df7499abf6 branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: rhettinger date: 2025-02-20T17:32:35-06:00 summary: [3.12] It

[Python-checkins] [3.12] Add multinomial to the itertools recipes docs (gh-129760) (gh-129854)

2025-02-08 Thread rhettinger
https://github.com/python/cpython/commit/1581c9d936a665dad9a5481ba880ac3b8fb2b824 commit: 1581c9d936a665dad9a5481ba880ac3b8fb2b824 branch: 3.12 author: Bénédikt Tran <[email protected]> committer: rhettinger date: 2025-02-08T08:10:41-06:00 summary: [3.12] Add multi

[Python-checkins] [3.13] Add multinomial to the itertools recipes docs (gh-129760) (gh-129762)

2025-02-06 Thread rhettinger
https://github.com/python/cpython/commit/aae0a1f90441467b27a1e7bce03b2aeb98e70ab3 commit: aae0a1f90441467b27a1e7bce03b2aeb98e70ab3 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2025-02-06T18:45:15-06:00 summary:

[Python-checkins] Add multinomial to the itertools recipes docs (gh-129760)

2025-02-06 Thread rhettinger
https://github.com/python/cpython/commit/e1e85204edbf8c0c9ba1e50c74ac8708553585d8 commit: e1e85204edbf8c0c9ba1e50c74ac8708553585d8 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-02-06T18:35:55-06:00 summary: Add multinomial to the itertools recipes docs (gh-129760

[Python-checkins] gh-128650: Fix incorrect statement in partial documentation (gh-128651)

2025-01-09 Thread rhettinger
https://github.com/python/cpython/commit/8af57810946c216b3e18c94c8f0ee3c0c96566a9 commit: 8af57810946c216b3e18c94c8f0ee3c0c96566a9 branch: main author: dgpb <[email protected]> committer: rhettinger date: 2025-01-09T13:32:00-06:00 summary: gh-128650: Fix incorrect sta

[Python-checkins] [3.13] Minor readability improvements for the itertools recipes (gh-127928) (gh-127999)

2024-12-16 Thread rhettinger
https://github.com/python/cpython/commit/71a1e79134d8716bdd5729179ca69cbc219feb94 commit: 71a1e79134d8716bdd5729179ca69cbc219feb94 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-12-16T17:33:20Z summary: [3.13]

[Python-checkins] [3.13] Simplify and speed-up an itertools recipe (gh-127848) (gh-127998)

2024-12-16 Thread rhettinger
https://github.com/python/cpython/commit/28e684b330120e8bac7608ae798937ad806ff542 commit: 28e684b330120e8bac7608ae798937ad806ff542 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-12-16T11:26:58-06:00 summary:

[Python-checkins] [3.13] Fix typo in itertools docs (gh-127995) (gh-127996)

2024-12-16 Thread rhettinger
https://github.com/python/cpython/commit/231c93923d7c13ef5238b8391aaa39adb95e8e77 commit: 231c93923d7c13ef5238b8391aaa39adb95e8e77 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-12-16T11:20:14-06:00 summary:

[Python-checkins] [3.12] Fix typo in itertools docs (gh-127995) (gh-127997)

2024-12-16 Thread rhettinger
https://github.com/python/cpython/commit/073b52bc53376489be9a3c2c86769a2b020d4a8b commit: 073b52bc53376489be9a3c2c86769a2b020d4a8b branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-12-16T11:18:15-06:00 summary:

[Python-checkins] Fix typo in itertools docs (gh-127995)

2024-12-16 Thread rhettinger
https://github.com/python/cpython/commit/e4981e33b82ac14cca0f2d9b95257301fa201810 commit: e4981e33b82ac14cca0f2d9b95257301fa201810 branch: main author: Gugubo <[email protected]> committer: rhettinger date: 2024-12-16T11:08:25-06:00 summary: Fix typo in itertools do

[Python-checkins] Minor readability improvements for the itertools recipes (gh-127928)

2024-12-13 Thread rhettinger
https://github.com/python/cpython/commit/292067fbc9db81896c16ff12d51c21d2b0f233e2 commit: 292067fbc9db81896c16ff12d51c21d2b0f233e2 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-12-13T12:12:49-06:00 summary: Minor readability improvements for the itertools recipes (gh

[Python-checkins] Simplify and speed-up an itertools recipe (gh-127848)

2024-12-11 Thread rhettinger
https://github.com/python/cpython/commit/8bbd379ee30db0320ec3d31c37aee2a503902b0f commit: 8bbd379ee30db0320ec3d31c37aee2a503902b0f branch: main author: Raymond Hettinger committer: rhettinger date: 2024-12-11T21:24:56-06:00 summary: Simplify and speed-up an itertools recipe (gh-127848) files

[Python-checkins] Itertool recipe additions (gh-127483)

2024-12-03 Thread rhettinger
https://github.com/python/cpython/commit/7f882c88cfda486947974cb82c20a1ae7047edfc commit: 7f882c88cfda486947974cb82c20a1ae7047edfc branch: main author: Raymond Hettinger committer: rhettinger date: 2024-12-03T18:20:01-06:00 summary: Itertool recipe additions (gh-127483) files: M Doc/library

[Python-checkins] [3.13] Itertool recipe additions (gh-127483) (gh-127585)

2024-12-03 Thread rhettinger
https://github.com/python/cpython/commit/bb46b74d9d55469401655a4a6bc412bf0e2db4cf commit: bb46b74d9d55469401655a4a6bc412bf0e2db4cf branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-12-03T18:34:42-06:00 summary:

[Python-checkins] Speed-up lazy heapq import in collections (gh-127538)

2024-12-02 Thread rhettinger
https://github.com/python/cpython/commit/dffb90911a585a0921664c8b1c229d0883e65ee7 commit: dffb90911a585a0921664c8b1c229d0883e65ee7 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-12-02T20:45:36-06:00 summary: Speed-up lazy heapq import in collections (gh-127538) files

[Python-checkins] [3.12] Tee of tee was not producing n independent iterators (gh-123884) (gh-125153)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/cf2532b39d099e004d1c07b2d0fcc46567b68e75 commit: cf2532b39d099e004d1c07b2d0fcc46567b68e75 branch: 3.12 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T20:16:18Z summary: [3.12] Tee of tee was not producing n independent iterators (gh

[Python-checkins] [3.13] Misc improvements to the itertools docs (gh-125147) (gh-125149)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/21a99add4563ccd145f426ceb95f35c3f6c54230 commit: 21a99add4563ccd145f426ceb95f35c3f6c54230 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-10-08T14:37:13-05:00 summary:

[Python-checkins] [3.13] Itertool docs: Minor clarifications, wording tweaks, spacing, and active voice. (gh-124690) (gh-125148)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/988cdccbe06cd938c83e4fd8dc4bfb6d88e6b9d8 commit: 988cdccbe06cd938c83e4fd8dc4bfb6d88e6b9d8 branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:29:15-05:00 summary: [3.13] Itertool docs: Minor clarifications, wording tweaks

[Python-checkins] [3.13] Tee of tee was not producing n independent iterators (gh-123884) (gh-125081)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/7bc99dd49ed4cebe4795cc7914c4231209b2aa4b commit: 7bc99dd49ed4cebe4795cc7914c4231209b2aa4b branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:11:43-05:00 summary: [3.13] Tee of tee was not producing n independent iterators

[Python-checkins] Misc improvements to the itertools docs (gh-125147)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/b2a7272408593355c4c8e1d2ce9018cf96691bea commit: b2a7272408593355c4c8e1d2ce9018cf96691bea branch: main author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:02:58-05:00 summary: Misc improvements to the itertools docs (gh-125147) files: M

[Python-checkins] [3.13] Small improvements to the itertools docs (GH-123885) (#125075)

2024-10-07 Thread rhettinger
https://github.com/python/cpython/commit/84efcecf03897f278dc8673980e3e0a4b2a439ca commit: 84efcecf03897f278dc8673980e3e0a4b2a439ca branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-10-07T23:08:09Z summary: [3.13] Small improvements to the itertools docs (GH-123885

[Python-checkins] Simplify partial() rough equivalent code (gh-124941)

2024-10-03 Thread rhettinger
https://github.com/python/cpython/commit/7ecaf21946a1da0ede664447839537a7fc5eb64e commit: 7ecaf21946a1da0ede664447839537a7fc5eb64e branch: main author: Raymond Hettinger committer: rhettinger date: 2024-10-03T19:54:53Z summary: Simplify partial() rough equivalent code (gh-124941) files: M Doc

[Python-checkins] Minor code beautifications in statistics.py (gh-124866)

2024-10-01 Thread rhettinger
https://github.com/python/cpython/commit/120729d862f0ef9979508899f7f63a9f3d9623cb commit: 120729d862f0ef9979508899f7f63a9f3d9623cb branch: main author: Raymond Hettinger committer: rhettinger date: 2024-10-01T15:55:36-05:00 summary: Minor code beautifications in statistics.py (gh-124866) files

[Python-checkins] Sorting techniques edits (#124701)

2024-09-27 Thread rhettinger
https://github.com/python/cpython/commit/165ed68c26759b817388add52a7aa2d26755d451 commit: 165ed68c26759b817388add52a7aa2d26755d451 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-27T17:19:44-07:00 summary: Sorting techniques edits (#124701) files: M Doc/howto

[Python-checkins] Drop code ownership for decimal (gh-124695)

2024-09-27 Thread rhettinger
https://github.com/python/cpython/commit/34158c2c7a80d7b1113beca69473e38349f0c96e commit: 34158c2c7a80d7b1113beca69473e38349f0c96e branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-27T19:33:16Z summary: Drop code ownership for decimal (gh-124695) files: M .github

[Python-checkins] Itertool docs: Minor clarifications, wording tweaks, spacing, and active voice. (gh-124690)

2024-09-27 Thread rhettinger
https://github.com/python/cpython/commit/2e155536caf8a090c06d62dd92647abc62362463 commit: 2e155536caf8a090c06d62dd92647abc62362463 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-27T18:43:46Z summary: Itertool docs: Minor clarifications, wording tweaks, spacing, and

[Python-checkins] Improve accuracy of kde() invcdf estimates (gh-124637)

2024-09-27 Thread rhettinger
https://github.com/python/cpython/commit/4b89c5ebfc7d5d4f008eee0ae6da765dfc28e3a9 commit: 4b89c5ebfc7d5d4f008eee0ae6da765dfc28e3a9 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-27T09:56:37-07:00 summary: Improve accuracy of kde() invcdf estimates (gh-124637) files

[Python-checkins] gh-119127: functools.partial placeholders (gh-119827)

2024-09-25 Thread rhettinger
https://github.com/python/cpython/commit/d9296529eb0a65f988e8600d3073977dff0ce5a9 commit: d9296529eb0a65f988e8600d3073977dff0ce5a9 branch: main author: dgpb <[email protected]> committer: rhettinger date: 2024-09-26T01:04:38Z summary: gh-119127: functools.p

[Python-checkins] GH-58058: Add quick reference for `ArgumentParser` to argparse docs (gh-124227)

2024-09-25 Thread rhettinger
https://github.com/python/cpython/commit/4e2fb7bdf5e1b2eddeb29b776820cfa2017a673f commit: 4e2fb7bdf5e1b2eddeb29b776820cfa2017a673f branch: main author: Savannah Ostrowski committer: rhettinger date: 2024-09-25T15:22:17-07:00 summary: GH-58058: Add quick reference for `ArgumentParser` to

[Python-checkins] gh-123884 Tee of tee was not producing n independent iterators (gh-124490)

2024-09-25 Thread rhettinger
https://github.com/python/cpython/commit/909c6f718913e713c990d69e6d8a74c05f81e2c2 commit: 909c6f718913e713c990d69e6d8a74c05f81e2c2 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-25T13:38:05-07:00 summary: gh-123884 Tee of tee was not producing n independent iterators

[Python-checkins] gh-119004: fix a crash in equality testing between `OrderedDict` (#121329)

2024-09-23 Thread rhettinger
https://github.com/python/cpython/commit/38a887dc3ec52c4a779bf4b3ca2431b86de9 commit: 38a887dc3ec52c4a779bf4b3ca2431b86de9 branch: main author: Bénédikt Tran <[email protected]> committer: rhettinger date: 2024-09-23T18:44:36-05:00 summary: gh-119004: fix a

[Python-checkins] Minor edits to the descriptor guide (GH-123928)

2024-09-13 Thread rhettinger
https://github.com/python/cpython/commit/cd06f5e32369c7816c7360cbb20fbe9f38b4f3a7 commit: cd06f5e32369c7816c7360cbb20fbe9f38b4f3a7 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-13T17:02:37-05:00 summary: Minor edits to the descriptor guide (GH-123928) files: M Doc

[Python-checkins] Small improvements to the itertools docs (GH-123885)

2024-09-09 Thread rhettinger
https://github.com/python/cpython/commit/2afba5ca6d27c69bc0a1618e86c2e4c00eefa4c1 commit: 2afba5ca6d27c69bc0a1618e86c2e4c00eefa4c1 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-09T20:57:49-05:00 summary: Small improvements to the itertools docs (GH-123885) files: M

[Python-checkins] [3.13] Remove irrelevant detail from example code. (gh-123587) (gh-123588)

2024-09-01 Thread rhettinger
https://github.com/python/cpython/commit/364d36632806a07b7cc1c50392054757c479fdda commit: 364d36632806a07b7cc1c50392054757c479fdda branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-09-01T20:27:48-05:00 summary:

[Python-checkins] Remove irrelevant detail from example code. (gh-123587)

2024-09-01 Thread rhettinger
https://github.com/python/cpython/commit/e3f76e5cfb6196e31c2a70f1082750f14072f1fb commit: e3f76e5cfb6196e31c2a70f1082750f14072f1fb branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-01T20:04:33-05:00 summary: Remove irrelevant detail from example code. (gh-123587) files

[Python-checkins] [3.13] Simplify Property() recipe to focus on the essentials (gh-123585) (gh-123586)

2024-09-01 Thread rhettinger
https://github.com/python/cpython/commit/767dfb9e8d49125967b3dd4d3d9458a7a3323af4 commit: 767dfb9e8d49125967b3dd4d3d9458a7a3323af4 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-09-01T18:08:21-05:00 summary:

[Python-checkins] Simplify Property() recipe to focus on the essentials (gh-123585)

2024-09-01 Thread rhettinger
https://github.com/python/cpython/commit/cb6d25011e81b46e7e6d1965dc00e4a5402c0976 commit: cb6d25011e81b46e7e6d1965dc00e4a5402c0976 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-01T17:49:38-05:00 summary: Simplify Property() recipe to focus on the essentials (gh

[Python-checkins] gh-121795: Improve performance of set membership testing from set arguments (#121796)

2024-07-22 Thread rhettinger
https://github.com/python/cpython/commit/2408a8a22bd13d8f15172a2ecf8bbbc4355dcb3b commit: 2408a8a22bd13d8f15172a2ecf8bbbc4355dcb3b branch: main author: HarryLHW <[email protected]> committer: rhettinger date: 2024-07-22T10:05:23-05:00 summary: gh-121795: Improve performance of set memb

[Python-checkins] Remove now unused function from itertools tests (#122100)

2024-07-22 Thread rhettinger
https://github.com/python/cpython/commit/97668192f7670caebe04c0cbcc488ae0334597d9 commit: 97668192f7670caebe04c0cbcc488ae0334597d9 branch: main author: Bradley Reynolds committer: rhettinger date: 2024-07-22T10:03:20-05:00 summary: Remove now unused function from itertools tests (#122100

[Python-checkins] [3.13] Remove duplicate "it" in whatsnew 3.13 (GH-121580) (gh-121899)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/d358f74a695b41b2b494b82df7ce3fd719dfac9c commit: d358f74a695b41b2b494b82df7ce3fd719dfac9c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-07-17T07:52:22Z summary: [3.13]

[Python-checkins] Remove duplicate "it" in whatsnew 3.13 (#121580)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/5d98a4d266fef754455baf8e65a20dd140ebecd3 commit: 5d98a4d266fef754455baf8e65a20dd140ebecd3 branch: main author: Rafael Fontenelle committer: rhettinger date: 2024-07-17T00:31:21-07:00 summary: Remove duplicate "it" in whatsnew 3.13 (#121580) fi

[Python-checkins] Fix Several Typos in Readme & Tests (#121559)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/dc9cc91f76fbbaa09a3bb40d0cbb6f9a2381e269 commit: dc9cc91f76fbbaa09a3bb40d0cbb6f9a2381e269 branch: main author: Michael <[email protected]> committer: rhettinger date: 2024-07-17T00:24:35-07:00 summary: Fix Several Ty

[Python-checkins] gh-121149: improve accuracy of builtin sum() for complex inputs (gh-121176)

2024-07-05 Thread rhettinger
https://github.com/python/cpython/commit/d4faa7bd321a7016f3e987d65962e02c778d708f commit: d4faa7bd321a7016f3e987d65962e02c778d708f branch: main author: Sergey B Kirpichev committer: rhettinger date: 2024-07-05T10:01:05-05:00 summary: gh-121149: improve accuracy of builtin sum() for complex

[Python-checkins] Add fast path in count_elements (gh-120983)

2024-06-25 Thread rhettinger
https://github.com/python/cpython/commit/9b32b890749b7843cd3e087baa89390fde634859 commit: 9b32b890749b7843cd3e087baa89390fde634859 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-25T03:10:00-05:00 summary: Add fast path in count_elements (gh-120983) files: M Modules

[Python-checkins] itertools doc: examples for groupby() and tee() (#120618)

2024-06-17 Thread rhettinger
https://github.com/python/cpython/commit/79e09e60d865b7b3fcde9ccee86a502da82bb2b3 commit: 79e09e60d865b7b3fcde9ccee86a502da82bb2b3 branch: main author: Frank Dana committer: rhettinger date: 2024-06-17T08:19:14-05:00 summary: itertools doc: examples for groupby() and tee() (#120618) files: M

[Python-checkins] Update tests for the itertools docs rough equivalents (#120509)

2024-06-14 Thread rhettinger
https://github.com/python/cpython/commit/27419f1fce05a18384e6fb3b8ad59b7f532821e6 commit: 27419f1fce05a18384e6fb3b8ad59b7f532821e6 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-14T11:00:46-05:00 summary: Update tests for the itertools docs rough equivalents (#120509

[Python-checkins] Stronger tests for the statistics kernel formulas (gh-120506)

2024-06-14 Thread rhettinger
https://github.com/python/cpython/commit/41554ef0e0925695544d96a7bc49af1428d6bb6b commit: 41554ef0e0925695544d96a7bc49af1428d6bb6b branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-14T10:21:35-05:00 summary: Stronger tests for the statistics kernel formulas (gh-120506

[Python-checkins] Refactor (mostly rearrange) the statistics module (gh-119930)

2024-06-01 Thread rhettinger
https://github.com/python/cpython/commit/e378dc15b52985724b6ae4782c4ef0afc3393ca9 commit: e378dc15b52985724b6ae4782c4ef0afc3393ca9 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-01T22:07:46-05:00 summary: Refactor (mostly rearrange) the statistics module (gh-119930

[Python-checkins] [3.12] Add unique() recipe to itertools docs (gh-119911) (gh-119917)

2024-06-01 Thread rhettinger
https://github.com/python/cpython/commit/60393f5f14c7741930de73c46475c9b5c1809dc3 commit: 60393f5f14c7741930de73c46475c9b5c1809dc3 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-06-01T12:06:18-05:00 summary:

[Python-checkins] [3.13] Add unique() recipe to itertools docs (gh-119911) (gh-119916)

2024-06-01 Thread rhettinger
https://github.com/python/cpython/commit/99d0f51e61b6ab3d58c034c007b5d9d6156fdf3b commit: 99d0f51e61b6ab3d58c034c007b5d9d6156fdf3b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-06-01T12:06:04-05:00 summary:

[Python-checkins] Add unique() recipe to itertools docs (gh-119911)

2024-06-01 Thread rhettinger
https://github.com/python/cpython/commit/63111bfcf021db29ce6ef9ffa4117ffb7a2cb868 commit: 63111bfcf021db29ce6ef9ffa4117ffb7a2cb868 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-01T11:30:24-05:00 summary: Add unique() recipe to itertools docs (gh-119911) files: M

[Python-checkins] Minor speed/accuracy improvement for kde() (gh-119910)

2024-06-01 Thread rhettinger
https://github.com/python/cpython/commit/ce2ea7d629788fd051cbec099b5947ecbe50e819 commit: ce2ea7d629788fd051cbec099b5947ecbe50e819 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-06-01T10:49:14-05:00 summary: Minor speed/accuracy improvement for kde() (gh-119910) files

[Python-checkins] statistics.fmean(): speed-up code path for non-sizeable inputs. (gh-119876)

2024-05-31 Thread rhettinger
https://github.com/python/cpython/commit/cc5cd4d93e3e079e897da9ceb1732ef16d79d01b commit: cc5cd4d93e3e079e897da9ceb1732ef16d79d01b branch: main author: Raymond Hettinger committer: rhettinger date: 2024-05-31T17:08:55-05:00 summary: statistics.fmean(): speed-up code path for non-sizeable inputs

[Python-checkins] gh-119721: Integrate documentation fixes into heapq module docstring. (gh-119722)

2024-05-29 Thread rhettinger
https://github.com/python/cpython/commit/659cb7e6b8e83e1541fc27fd29d4846e940b600e commit: 659cb7e6b8e83e1541fc27fd29d4846e940b600e branch: main author: Filip Łajszczak committer: rhettinger date: 2024-05-29T11:39:34-05:00 summary: gh-119721: Integrate documentation fixes into heapq module

[Python-checkins] [3.13] Misc cleanups and wording improvements for the itertools docs (gh-119626) (gh-119629)

2024-05-27 Thread rhettinger
https://github.com/python/cpython/commit/8117cb5f01c9519f9f1a9fd92af32a804f197603 commit: 8117cb5f01c9519f9f1a9fd92af32a804f197603 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-05-27T13:44:11-05:00 summary:

[Python-checkins] [3.12] Misc cleanups and wording improvements for the itertools docs (gh-119631)

2024-05-27 Thread rhettinger
https://github.com/python/cpython/commit/8fb48542d353b46039975dc40d6d4d66ed0cc836 commit: 8fb48542d353b46039975dc40d6d4d66ed0cc836 branch: 3.12 author: Raymond Hettinger committer: rhettinger date: 2024-05-27T13:43:08-05:00 summary: [3.12] Misc cleanups and wording improvements for the

[Python-checkins] Misc cleanups and wording improvements for the itertools docs (gh-119626)

2024-05-27 Thread rhettinger
https://github.com/python/cpython/commit/0bd0d4072a49df49a88e8b02c3258dbd294170f6 commit: 0bd0d4072a49df49a88e8b02c3258dbd294170f6 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-05-27T13:22:57-05:00 summary: Misc cleanups and wording improvements for the itertools docs

[Python-checkins] [3.12] Misc improvements to the docs for itertools (gh-119532)

2024-05-24 Thread rhettinger
https://github.com/python/cpython/commit/2d700670adb17dee0f9d0d7b31adae156919e59d commit: 2d700670adb17dee0f9d0d7b31adae156919e59d branch: 3.12 author: Raymond Hettinger committer: rhettinger date: 2024-05-24T17:35:38-05:00 summary: [3.12] Misc improvements to the docs for itertools (gh-119532

[Python-checkins] [3.13] Misc improvement to the docs for itertools (gh-119529) (#119531)

2024-05-24 Thread rhettinger
https://github.com/python/cpython/commit/55446513509be4c6fa0b0e3eb6f9c9cc3b3d0bdd commit: 55446513509be4c6fa0b0e3eb6f9c9cc3b3d0bdd branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-05-24T17:26:25-05:00 summary: [3.13] Misc improvement to the docs for itertools (gh-119529

[Python-checkins] Misc improvement to the docs for itertools (gh-119529)

2024-05-24 Thread rhettinger
https://github.com/python/cpython/commit/49c3ade4f3ceae2f8fcbe03ebaaad5eddf8de0bf commit: 49c3ade4f3ceae2f8fcbe03ebaaad5eddf8de0bf branch: main author: Raymond Hettinger committer: rhettinger date: 2024-05-24T16:58:24-05:00 summary: Misc improvement to the docs for itertools (gh-119529) files

[Python-checkins] Tiny fix: Update link for HAC algorithm (gh-118546)

2024-05-22 Thread rhettinger
https://github.com/python/cpython/commit/43807fec8d38a0400c7967baad587da3e89f8dcc commit: 43807fec8d38a0400c7967baad587da3e89f8dcc branch: main author: Ayato Hayashi committer: rhettinger date: 2024-05-23T02:11:11Z summary: Tiny fix: Update link for HAC algorithm (gh-118546) files: M Objects

  1   2   >