[New-bugs-announce] [issue1019] Cleanup pass on _curses and _curses_panel

Larry Hastings report at bugs.python.org
Sat Aug 25 13:25:17 CEST 2007


New submission from Larry Hastings:

*BEFORE* APPLYING THIS PATCH, YOU MUST
% svn move Include/py_curses.h Modules/_py_curses.h
(A "patch" can't convey that sort of information.)

I made a pass cleaning up _curses and _curses_panel.  Mainly I cleaned
up the header file, moving unnecessary things into the two .c files.
I also changed the way information is passed from _curses to
_curses_panel.  Instead of a Py_CObject which points to functions--which
Neil Norwitz suspected could be a security hole--it now passes cleaner
information (one type, one int * pointer).  Finally, I made a
code-cleanup pass as per PEP 7.

----------
components: Extension Modules
files: lch.py3k.curses.module.diff.1.txt
messages: 55287
nosy: larryhastings
severity: minor
status: open
title: Cleanup pass on _curses and _curses_panel
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1019>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lch.py3k.curses.module.diff.1.txt
Url: http://mail.python.org/pipermail/new-bugs-announce/attachments/20070825/5fc87a8e/attachment-0001.txt 


More information about the New-bugs-announce mailing list