Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
42f4bfa2
Commit
42f4bfa2
authored
Sep 05, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport fix from 51683.
parent
7f6dff55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Misc/NEWS
Misc/NEWS
+2
-0
Modules/_cursesmodule.c
Modules/_cursesmodule.c
+4
-0
No files found.
Misc/NEWS
View file @
42f4bfa2
...
...
@@ -46,6 +46,8 @@ Library
Extension
Modules
-----------------
-
Bug
#
1548092
:
fix
curses
.
tparm
seg
fault
on
invalid
input
.
-
Bug
#
1550714
:
fix
SystemError
from
itertools
.
tee
on
negative
value
for
n
.
...
...
Modules/_cursesmodule.c
View file @
42f4bfa2
...
...
@@ -2334,6 +2334,10 @@ PyCurses_tparm(PyObject *self, PyObject *args)
}
result
=
tparm
(
fmt
,
i1
,
i2
,
i3
,
i4
,
i5
,
i6
,
i7
,
i8
,
i9
);
if
(
!
result
)
{
PyErr_SetString
(
PyCursesError
,
"tparm() returned NULL"
);
return
NULL
;
}
return
PyString_FromString
(
result
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment