[issue33359] curses.has_key failure

Uzume report at bugs.python.org
Wed Apr 25 14:13:44 EDT 2018


New submission from Uzume <uzume at users.sourceforge.net>:

The following change is broken and should be reverted (for the one file anyway):

https://github.com/python/cpython/commit/6e3dbbdf39f3b4eb6f18c0165e446df17218b7dc#diff-c322497c7350a91fc1d78da0bb76b5b5

This does not seem to affect master but I did not check every Python version.

This causes the following broken behavior (as found on Python 2.7):
$ python -m curses.has_key
yields the exception
"TypeError: argument of type 'module' is not iterable"

----------
components: Library (Lib)
messages: 315752
nosy: benjamin.peterson, uzume
priority: normal
severity: normal
status: open
title: curses.has_key failure
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33359>
_______________________________________


More information about the Python-bugs-list mailing list