[Python-checkins] gh-88531 Fix dataclass __post_init__/__init__ interplay documentation (gh-107404)

2024-01-16 Thread ericvsmith
https://github.com/python/cpython/commit/05008c27b73da640b63c0d335c65ade517c0eb84 commit: 05008c27b73da640b63c0d335c65ade517c0eb84 branch: main author: Steffen Zeile <48187781+kan...@users.noreply.github.com> committer: ericvsmith date: 2024-01-16T20:17:34-05:00 summary: gh-88531 Fix dat

[Python-checkins] gh-114198: Rename dataclass __replace__ argument to 'self' (gh-114251)

2024-01-18 Thread ericvsmith
https://github.com/python/cpython/commit/339fc3c22446a148d27d9ec061594ac8d0abd33d commit: 339fc3c22446a148d27d9ec061594ac8d0abd33d branch: main author: Phillip Schanely committer: ericvsmith date: 2024-01-18T11:01:17-05:00 summary: gh-114198: Rename dataclass __replace__ argument to 'self

[Python-checkins] Fix indentation in `__post_init__` documentation. (gh-114666)

2024-01-28 Thread ericvsmith
https://github.com/python/cpython/commit/d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7 commit: d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7 branch: main author: Bhushan Mohanraj <50306448+bhushan-mohan...@users.noreply.github.com> committer: ericvsmith date: 2024-01-28T15:10:32-05:00 summary

[Python-checkins] gh-109653: Just import `recursive_repr` in `dataclasses` (gh-109822)

2024-03-05 Thread ericvsmith
https://github.com/python/cpython/commit/edc9d85c68af600431556f3e8edae9b0fbfdfd34 commit: edc9d85c68af600431556f3e8edae9b0fbfdfd34 branch: main author: Nikita Sobolev committer: ericvsmith date: 2024-03-05T13:12:00-05:00 summary: gh-109653: Just import `recursive_repr` in `dataclasses` (gh

[Python-checkins] gh-116535: Fix distracting "TypeError" in example code (gh-116538)

2024-03-09 Thread ericvsmith
https://github.com/python/cpython/commit/db8f423f58e336eb6180a70d9886b443d7203c2c commit: db8f423f58e336eb6180a70d9886b443d7203c2c branch: main author: Declan <5962877+d...@users.noreply.github.com> committer: ericvsmith date: 2024-03-09T16:52:57-05:00 summary: gh-116535: Fix distr

[Python-checkins] [3.12] gh-116535: Fix distracting "TypeError" in example code (gh-116538) (gh-116551)

2024-03-09 Thread ericvsmith
https://github.com/python/cpython/commit/0d5455fc7fa921b56d1f4cbdc89e1ba9036c2cd8 commit: 0d5455fc7fa921b56d1f4cbdc89e1ba9036c2cd8 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2024-03-09T17:08:12-05:00 summary: [3.

[Python-checkins] [3.11] gh-116535: Fix distracting "TypeError" in example code (gh-116538) (gh-116552)

2024-03-09 Thread ericvsmith
https://github.com/python/cpython/commit/982f457f6f86700a62ce00f1914101dcbde7de15 commit: 982f457f6f86700a62ce00f1914101dcbde7de15 branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2024-03-09T17:08:23-05:00 summary: [3.

[Python-checkins] gh-109870: Dataclasses: batch up exec calls (gh-110851)

2024-03-25 Thread ericvsmith
https://github.com/python/cpython/commit/8945b7ff55b87d11c747af2dad0e3e4d631e62d6 commit: 8945b7ff55b87d11c747af2dad0e3e4d631e62d6 branch: main author: Eric V. Smith committer: ericvsmith date: 2024-03-25T19:59:14-04:00 summary: gh-109870: Dataclasses: batch up exec calls (gh-110851) Instead

[Python-checkins] Tweak wording for dataclasses.replace (gh-117758)

2024-04-13 Thread ericvsmith
https://github.com/python/cpython/commit/e7cce2a9c696250aff64a57b85182356367be041 commit: e7cce2a9c696250aff64a57b85182356367be041 branch: main author: Gouvernathor <44340603+gouvernat...@users.noreply.github.com> committer: ericvsmith date: 2024-04-13T20:03:09-04:00 summary: Tweak wordi

[Python-checkins] gh-90562: Support zero argument super with dataclasses when slots=True (gh-124455)

2024-09-24 Thread ericvsmith
https://github.com/python/cpython/commit/5c6e3b715082bfccd0b4cf2bb1c18e8b1afcad3e commit: 5c6e3b715082bfccd0b4cf2bb1c18e8b1afcad3e branch: main author: Eric V. Smith committer: ericvsmith date: 2024-09-24T21:26:26-04:00 summary: gh-90562: Support zero argument super with dataclasses when slots

[Python-checkins] gh-89683: add tests for `deepcopy` on frozen dataclasses (gh-123098)

2024-09-26 Thread ericvsmith
https://github.com/python/cpython/commit/5e7eba09bcdafe361b491b3f8cf30d7dd2df0a78 commit: 5e7eba09bcdafe361b491b3f8cf30d7dd2df0a78 branch: main author: Bénédikt Tran <10796600+picn...@users.noreply.github.com> committer: ericvsmith date: 2024-09-26T21:15:28Z summary: gh-89683: add tes

[Python-checkins] gh-113878: Add `doc` parameter to `dataclasses.field` (gh-114051)

2024-09-27 Thread ericvsmith
https://github.com/python/cpython/commit/9c7657f09914254724683d91177aed7947637be5 commit: 9c7657f09914254724683d91177aed7947637be5 branch: main author: sobolevn committer: ericvsmith date: 2024-09-27T12:20:49-04:00 summary: gh-113878: Add `doc` parameter to `dataclasses.field` (gh-114051) If

[Python-checkins] [3.12] gh-89683: add tests for `deepcopy` on frozen dataclasses (GH-123098) (gh-124679)

2024-09-27 Thread ericvsmith
https://github.com/python/cpython/commit/373036a82c2127da8c54993ec95a966a135ec4c1 commit: 373036a82c2127da8c54993ec95a966a135ec4c1 branch: 3.12 author: Bénédikt Tran <10796600+picn...@users.noreply.github.com> committer: ericvsmith date: 2024-09-27T16:57:30Z summary: [3.12] gh-89683: add

[Python-checkins] gh-118974: Add `decorator` argument to `make_dataclass` (gh-122723)

2024-10-01 Thread ericvsmith
https://github.com/python/cpython/commit/3e3a4d231518f91ff2f3c5a085b3849e32f1d548 commit: 3e3a4d231518f91ff2f3c5a085b3849e32f1d548 branch: main author: Victorien <65306057+vii...@users.noreply.github.com> committer: ericvsmith date: 2024-10-01T09:51:51-04:00 summary: gh-118974: Add `dec

[Python-checkins] gh-132111: Document dataclasses.InitVar (#132446)

2025-04-13 Thread ericvsmith
https://github.com/python/cpython/commit/281fc338fdf57ef119e213bf1b2c772261c359c1 commit: 281fc338fdf57ef119e213bf1b2c772261c359c1 branch: main author: Tapeline committer: ericvsmith date: 2025-04-13T12:47:44-04:00 summary: gh-132111: Document dataclasses.InitVar (#132446) files: M Doc/library

[Python-checkins] [3.13] gh-132111: Document dataclasses.InitVar (GH-132446) (#132483)

2025-04-13 Thread ericvsmith
https://github.com/python/cpython/commit/d021b719ed87d4ce6e03913361564c1c79215123 commit: d021b719ed87d4ce6e03913361564c1c79215123 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2025-04-13T16:53:40Z summary: [3.

[Python-checkins] gh-130637: Add validation for numeric response data in `stat()` method (#130646)

2025-03-02 Thread ericvsmith
https://github.com/python/cpython/commit/a42168d316f0c9a4fc5658dab87682dc19054efb commit: a42168d316f0c9a4fc5658dab87682dc19054efb branch: main author: Kanishk Pachauri committer: ericvsmith date: 2025-03-02T08:05:40-05:00 summary: gh-130637: Add validation for numeric response data in `stat

[Python-checkins] gh-130130: Clarify `hash=False` docs in `dataclasses.field` (#130324)

2025-02-20 Thread ericvsmith
https://github.com/python/cpython/commit/47ace539950fb675d5968736348f0d724ba199f0 commit: 47ace539950fb675d5968736348f0d724ba199f0 branch: main author: Sabfo committer: ericvsmith date: 2025-02-20T02:43:27-05:00 summary: gh-130130: Clarify `hash=False` docs in `dataclasses.field` (#130324

[Python-checkins] [3.14] gh-134752: Improve speed of test_tokenize.StringPrefixTest.test_prefixes. (GH-134766) (#134782)

2025-05-27 Thread ericvsmith
https://github.com/python/cpython/commit/452d098c0b024266702c64d6a76d908d721c5067 commit: 452d098c0b024266702c64d6a76d908d721c5067 branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2025-05-27T09:16:23Z summary: [3.

[Python-checkins] gh-134752: Improve speed of test_tokenize.StringPrefixTest.test_prefixes. (#134766)

2025-05-27 Thread ericvsmith
https://github.com/python/cpython/commit/579686d9fb1bccc74c694d569f0a8bf28d9ca85a commit: 579686d9fb1bccc74c694d569f0a8bf28d9ca85a branch: main author: Eric V. Smith committer: ericvsmith date: 2025-05-27T04:49:28-04:00 summary: gh-134752: Improve speed of

[Python-checkins] gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (#134734)

2025-05-26 Thread ericvsmith
https://github.com/python/cpython/commit/08c78e02fab4a1c9c075637422d621f9c740959a commit: 08c78e02fab4a1c9c075637422d621f9c740959a branch: main author: Eric V. Smith committer: ericvsmith date: 2025-05-26T13:49:39-04:00 summary: gh-134675: Add t-string prefixes to tokenizer module, lexical

[Python-checkins] [3.14] gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (GH-134734) (#134739)

2025-05-26 Thread ericvsmith
https://github.com/python/cpython/commit/74f5667bd9293337bc7c1b2fb89d9a8cb0598bc8 commit: 74f5667bd9293337bc7c1b2fb89d9a8cb0598bc8 branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2025-05-26T15:24:24-04:00 summary: [3.

[Python-checkins] Fix presentation of dataclasses' `unsafe_hash` default value (#116532)

2025-06-11 Thread ericvsmith
https://github.com/python/cpython/commit/71f5fafdfb2e509f59cd584d45949c6496f88d41 commit: 71f5fafdfb2e509f59cd584d45949c6496f88d41 branch: main author: Victorien <65306057+vii...@users.noreply.github.com> committer: ericvsmith date: 2025-06-11T21:30:33-04:00 summary: Fix presentat

[Python-checkins] [3.13] Fix presentation of dataclasses' `unsafe_hash` default value (GH-116532) (#135417)

2025-06-11 Thread ericvsmith
https://github.com/python/cpython/commit/9a10b734f164ca5a253ae3a05f4960e3fcbeef2b commit: 9a10b734f164ca5a253ae3a05f4960e3fcbeef2b branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2025-06-12T01:37:30Z summary: [3.1

[Python-checkins] [3.14] Fix presentation of dataclasses' `unsafe_hash` default value (GH-116532) (#135416)

2025-06-11 Thread ericvsmith
https://github.com/python/cpython/commit/4a30154fd27f055a97d6543a2cbf71f578b7eed5 commit: 4a30154fd27f055a97d6543a2cbf71f578b7eed5 branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericvsmith date: 2025-06-12T01:36:17Z summary: [3.1