8000 gh-134209: use heap-allocated memory in `_curses.window.{instr,getstr}` by zydtiger · Pull Request #134283 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-134209: use heap-allocated memory in _curses.window.{instr,getstr} #134283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
May 20, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
46a6f47
made curses buffer heap allocated instead of stack
zydtiger May 19, 2025
7eeb8f6
change docs to explicitly mention the max buffer size
zydtiger May 19, 2025
d5aa3db
remove unintentional changes
zydtiger May 19, 2025
020d798
📜🤖 Added by blurb_it.
blurb-it[bot] May 19, 2025
823fa38
reword news to satify linter
zydtiger May 19, 2025
571091d
Merge branch 'main' into fix-issue-134209
zydtiger May 19, 2025
1e7edf4
Merge branch 'main' into fix-issue-134209
zydtiger May 19, 2025
0cb5fe0
Reword the ReST news entry.
gpshead May 20, 2025
63a3ed2
use rtn value from winnstr instead of strlen
zydtiger May 20, 2025
58d6cde
changing GetStr() function to behave similarly too
zydtiger May 20, 2025
82c9b1c
updated curses doc for getstr function
zydtiger May 20, 2025
04a9b14
Merge branch 'main' into fix-issue-134209
zydtiger May 20, 2025
cbce07b
Update Doc/library/curses.rst
zydtiger May 20, 2025
dfd210d
Update Doc/library/curses.rst
zydtiger May 20, 2025
ad832bd
Update Misc/NEWS.d/next/Library/2025-05-19-20-59-06.gh-issue-134209.a…
zydtiger May 20, 2025
f7a51f9
Update Modules/_cursesmodule.c
zydtiger May 20, 2025
e5597a2
Update Modules/_cursesmodule.c
zydtiger May 20, 2025
5dd4304
Update Modules/_cursesmodule.c
zydtiger May 20, 2025
d868088
Update instr with proper return error handling
zydtiger May 20, 2025
1a519cb
Update Modules/_cursesmodule.c
zydtiger May 20, 2025
87bb8cb
Merge branch 'main' into fix-issue-134209
zydtiger May 20, 2025
083f855
change to strlen and better memory safety
zydtiger May 20, 2025
20046cb
Update Doc/library/curses.rst
zydtiger May 20, 2025
fd5c3f4
Update Doc/library/curses.rst
zydtiger May 20, 2025
c061f89
change from const int to Py_ssize_t
zydtiger May 20, 2025
d11b04f
Merge branch 'main' into fix-issue-134209
zydtiger May 20, 2025
c3323a3
fix indent
zydtiger May 20, 2025
12d4a5f
Update Doc/library/curses.rst
zydtiger May 20, 2025
769ba15
add mem allocation guard
zydtiger May 20, 2025
59b49b4
remove trailing spaces in line
zydtiger May 20, 2025
5bfa810
Merge branch 'main' into fix-issue-134209
zydtiger May 20, 2025
6510d09
fix indent
zydtiger May 20, 2025
6eccdc9
update versionchanged to mention it was an increase.
gpshead May 20, 2025
769bb87
explicitly use versionchanged 3.14 as that is its own branch now.
gpshead May 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into fix-issue-134209
  • Loading branch information
zydtiger authored May 20, 2025
commit d11b04ffe98ec8023610a886ad9bea7dc8f33a1a

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

0