Skip to content

Conversation

singlarohit11
Copy link

@singlarohit11 singlarohit11 commented Jul 17, 2025

Cline fix :

File fixed: Lib/email/message.py

Test added: Lib/test/test_email/test_message.py

miss-islington and others added 30 commits June 11, 2025 02:01
…er (pythonGH-135317) (python#135348)

pythongh-130077: Properly match full soft keywords in the parser (pythonGH-135317)
(cherry picked from commit ff2b5f4)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
…honGH-134898) (python#134956)

* pythongh-91048:  Reorder result tuple of parse_code_object (pythonGH-134898)

Reorder result tuple of parse_code_object

The standard followed by APIs like pstat.Stats is to take a file, line,
function triplet. The parse_code_object function (and callers exposing
this in Python like RemoteUnwinder.get_stack_trace) return function,
file, line triplets which requires the caller to reorder these when
using it in classes like pstat.Stats.
(cherry picked from commit 8e8786f)

Co-authored-by: László Kiss Kollár <[email protected]>

* Reorder asyncio

---------

Co-authored-by: László Kiss Kollár <[email protected]>
Co-authored-by: Pablo Galindo <[email protected]>
…ts() (pythonGH-135356) (python#135373)

pythongh-135326: Test support of __index__ in random.getrandbits() (pythonGH-135356)
(cherry picked from commit 5ae669f)

Co-authored-by: Serhiy Storchaka <[email protected]>
…_US.UTF-8' (pythonGH-135347) (pythonGH-135349)

(cherry picked from commit 0f866cb)

Co-authored-by: Serhiy Storchaka <[email protected]>
…G argument > 0x7fffffff in pickle (pythonGH-135322) (pythonGH-135382)

(cherry picked from commit 2b8b477)

Co-authored-by: Justin Applegate <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
…unMain handle SystemExit (pythonGH-135337) (python#135394)

pythongh-133264: Correct documentation of how Py_Main and Py_RunMain handle SystemExit (pythonGH-135337)
(cherry picked from commit b706ff0)

Co-authored-by: Malcolm Smith <[email protected]>
…ythonGH-116532) (python#135416)

Fix presentation of dataclasses' `unsafe_hash` default value (pythonGH-116532)

(cherry picked from commit 71f5faf)

Co-authored-by: Victorien <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
… (python#135419)

On some iPad versions, Safari reports as "macOS". Modifies the GC trampoline detection
to add a feature-based check to detect this case.
(cherry picked from commit d447129)

Co-authored-by: Gyeongjae Choi <[email protected]>
…t__` (pythonGH-135412) (python#135425)

pythongh-135410: use a critical section around `StringIO.__next__` (pythonGH-135412)
(cherry picked from commit e6c3039)

Co-authored-by: Peter Bierma <[email protected]>
…ngh-135414)

PEP-734 has been accepted (for 3.14).

(FTR, I'm opposed to putting this under the concurrent package, but
doing so is the SC condition under which the module can land in 3.14.)

(cherry picked from commit 6214373, AKA pythongh-133958)
…nt (pythonGH-135442) (python#135446)

pythongh-135429: Fix the argument mismatch in lsprof throw event (pythonGH-135442)
(cherry picked from commit b03309f)

Co-authored-by: Tian Gao <[email protected]>
…IO.__next__` (pythonGH-135412)" (pythonGH-135439) (pythongh-135449)

Revert "pythongh-135410: use a critical section around `StringIO.__next__` (pythonGH-135412)" (pythonGH-135439)

This reverts commit e6c3039.
(cherry picked from commit 7343135)

Co-authored-by: Peter Bierma <[email protected]>
…4523) (python#135459)

pythongh-106318: Add example for `str.endswith()` (pythonGH-134523)
(cherry picked from commit eed827e)

Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
…task exited abnormally (pythonGH-133222) (pythonGH-135344)

pythongh-132969:  Fix error/hang when shutdown(wait=False) and task exited abnormally (pythonGH-133222)

When shutdown is called with wait=False, the executor thread keeps running
even after the ProcessPoolExecutor's state is reset. The executor then tries
to replenish the worker processes pool resulting in an error and a potential hang
when it comes across a worker that has died. Fixed the issue by having
_adjust_process_count() return without doing anything if the ProcessPoolExecutor's
state has been reset.

Added unit tests to validate two scenarios:
max_workers < num_tasks (exception)
max_workers > num_tasks (exception + hang)
(cherry picked from commit 598aa7c)

Co-authored-by: Ajay Kamdar <[email protected]>
…ythonGH-135433) (python#135467)

pythongh-135244: improve wording of `uuid8` docs about CSPRNG (pythonGH-135433)
(cherry picked from commit 394d798)

Co-authored-by: LamentXU <[email protected]>
…l input in HTMLParser (pythonGH-135464) (pythonGH-135481)

End-of-file errors are now handled according to the HTML5 specs --
comments and declarations are automatically closed, tags are ignored.
(cherry picked from commit 6eb6c5d)

Co-authored-by: Serhiy Storchaka <[email protected]>
…oundVarCounts() (pythongh-135493)

(cherry picked from commit 56eabea, AKA pythongh-135438)

Co-authored-by: Eric Snow <[email protected]>
…thongh-135492)

In this refactor we:

* move some code around
* make a couple of typedefs opaque
* decouple errors from session state
* improve tracebacks for propagated exceptions

This change helps simplify several upcoming changes.

(cherry picked from commit c7f4a80, AKA pythongh-135369)

Co-authored-by: Eric Snow <[email protected]>
…honGH-135495) (python#135499)

pythongh-135496: Fix f string exclamation mark error typo (pythonGH-135495)
(cherry picked from commit c2bb3f9)

Co-authored-by: GiGaGon <[email protected]>
…rue` (pythonGH-135421) (python#135503)

pythongh-135368: Fix mocks on dataclass specs with `instance=True` (pythonGH-135421)

* pythongh-135368: Fix mocks on dataclass specs with `instance=True`

* Extend dataclass mock_methods

---------
(cherry picked from commit c8319a3)

Co-authored-by: sobolevn <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
…ythonGH-135508) (python#135516)

pythongh-135497: fix `MAXLOGNAME` detection in `configure.ac` (pythonGH-135508)
(cherry picked from commit 2e15a50)

Co-authored-by: Caleb Xu <[email protected]>
…sion (pythonGH-135351) (python#135524)

pythongh-135171: Update documentation for the generator expression (pythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst



---------
(cherry picked from commit 8979d3a)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Brian Skinn <[email protected]>
…tion (pythonGH-135527) (python#135541)

pythongh-65697: Improved error msg for configparser key validation (pythonGH-135527)

* Improved error msg for configparser key validation and added note in 3.14 whatsnew

* Properly added change to configparser

* 📜🤖 Added by blurb_it.

---------
(cherry picked from commit 81237fb)

Co-authored-by: Jacob Austin Lincoln <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
…nternal coroutine chains (pythonGH-135436) (python#135509)

pythongh-135371: Fix asyncio introspection output to include internal coroutine chains (pythonGH-135436)
(cherry picked from commit 028309f)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.