Content-Length: 307401 | pFad | https://github.com/python/cpython/pull/118663

50 [3.12] GH-117714: implement athrow().close() and asend().close() using throw (GH-117906) by miss-islington · Pull Request #118663 · python/cpython · GitHub
Skip to content

[3.12] GH-117714: implement athrow().close() and asend().close() using throw (GH-117906)#118663

Closed
miss-islington wants to merge 1 commit intopython:3.12from
miss-islington:backport-e5c6992-3.12
Closed

[3.12] GH-117714: implement athrow().close() and asend().close() using throw (GH-117906)#118663
miss-islington wants to merge 1 commit intopython:3.12from
miss-islington:backport-e5c6992-3.12

Conversation

@miss-islington
Copy link
Contributor

Co-authored-by: Petr Viktorin encukou@gmail.com


(cherry picked from commit e5c6992)

Co-authored-by: Thomas Grainger tagrain@gmail.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Petr Viktorin encukou@gmail.com

… throw (pythonGH-117906)

* pythonGH-117714: replace athrow().close() and asend().close() stubs with implimentations

* test athrow().close() and asend().close() raises RuntimeError

* 📜🤖 Added by blurb_it.

* Update Objects/genobject.c

Co-authored-by: Petr Viktorin <encukou@gmail.com>

---------

(cherry picked from commit e5c6992)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@graingert
Copy link
Contributor

I'm not sure if this is ok to backport, as it's a bugfix that resolves an omission

@encukou
Copy link
Member

encukou commented May 7, 2024

It changes behaviour, and I don't think fixing this bug is particularly important.
Probably best to not backport it.

@graingert
Copy link
Contributor

Sounds good

@graingert graingert closed this May 7, 2024
@miss-islington miss-islington deleted the backport-e5c6992-3.12 branch January 2, 2026 18:52
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.

3 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/118663

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy