Issue 8861: curses.wrapper : unnessesary code (original) (raw)

Issue8861

Created on 2010-05-31 17:32 by july, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
curses-wrapper-cleanup.patch july,2010-05-31 17:32 apply to trunk
Messages (2)
msg106798 - (view) Author: July Tikhonov (july) * Date: 2010-05-31 17:32
wrapper() code in Lib/curses/wrapper.py has an unnesesary line: res = None This variable is not used anywhere else in wrapper(). Inspecting the history of trunk, we can see that it was used used as a result of applying func(), but later was replaced by another construction. Patch added.
msg112527 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-02 19:44
Fixed in r83555.
History
Date User Action Args
2022-04-11 14:57:01 admin set github: 53107
2010-08-02 19:44:57 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: fixed
2010-05-31 17:32:13 july create