FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-156953: Fix a reference leak in curses window.insnstr() (GH-156954) by serhiy-storchaka · Pull Request #159108 · python/cpython · GitHub

Repository navigation

[3.15] gh-156953: Fix a reference leak in curses window.insnstr() (GH-156954) - #159108

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-23180c5-3.15
Oct 10, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-23180c5-3.15

Conversation

serhiy-storchaka commented Oct 10, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

insnstr() did not release the bytes object it converted its argument to when setting the attributes failed, unlike addstr(), addnstr() and insstr().

The test is not backported, since it requires newterm().

(cherry picked from commit 23180c5)

Co-authored-by: Vyron Vasileiadis hi@fedonman.com

…() (pythonGH-156954)

insnstr() did not release the bytes object it converted its argument to
when setting the attributes failed, unlike addstr(), addnstr() and
insstr().
(cherry picked from commit 23180c5)

Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL