gh-111049: Fix crash during garbage collection of the BytesIO buffer object#111221
Conversation
|
When you're done making the requested changes, leave the comment: |
…ffer-gc' into crash-bytesio-getbuffer-gc
|
@erlend-aasland I do not understand, what exactly changes did you request. Could you please explain it in more details? |
|
Thank you for your suggestion @erlend-aasland. I have made the requested changes; please review again. |
I think this needs to be in a comment by itself, looks like the bot didn't remove the label. |
no, the bot is malfunctioning at the moment: |
|
Any movement here? It would be lovely to get this fix into 3.12.1. |
erlend-aasland
left a comment
There was a problem hiding this comment.
Please remove the XXX from the comments as per PEP-8:
Ensure that your comments are clear and easily understandable to other speakers of the language you are writing in.
Python coders from non-English speaking countries: please write your comments in English, unless you are 120% sure that the code will never be read by people who don’t speak your language.
XXX is neither clear, easily understandable, nor english; please remove it.
|
@serhiy-storchaka Can you please remove the instances of |
0c693c0 to
621345b
Compare
|
I decided to remove them at all. I tried to silence errors, but they serve as indication of programming error, similar to ResourceWarning. When memoryview is explicitly released or used as a context manager, this never happens. |
This comment was marked as outdated.
This comment was marked as outdated.
|
GH-113096 is a backport of this pull request to the 3.12 branch. |
…uffer object (pythonGH-111221) (cherry picked from commit bb36f72) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.