[New-bugs-announce] [issue8861] curses.wrapper : unnessesary code
July Tikhonov
report at bugs.python.org
Mon May 31 19:32:15 CEST 2010
New submission from July Tikhonov <july.tikh at gmail.com>:
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.
----------
components: Library (Lib)
files: curses-wrapper-cleanup.patch
keywords: patch
messages: 106798
nosy: july
priority: normal
severity: normal
status: open
title: curses.wrapper : unnessesary code
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17506/curses-wrapper-cleanup.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8861>
_______________________________________
More information about the New-bugs-announce
mailing list