Title: curses.has_key failure
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, serhiy.storchaka, uzume
Priority: normal Keywords: easy, patch

Created on 2018-04-25 18:13 by uzume, last changed 2018-04-26 05:57 by benjamin.peterson. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6608 merged benjamin.peterson, 2018-04-26 05:43
Messages (3)
msg315752 - (view) Author: Uzume (uzume) Date: 2018-04-25 18:13
The following change is broken and should be reverted (for the one file anyway):

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"
msg315753 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-04-25 18:28
python -m curses.has_key
msg315778 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-04-26 05:57
New changeset 3219bbf6a159110d293dcfef2d5889ab020f4c5b by Benjamin Peterson in branch '2.7':
fix running the curses.has_key module (closes bpo-33359) (GH-6608)
Date User Action Args
2018-04-26 05:57:37benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg315778

stage: patch review -> resolved
2018-04-26 05:43:20benjamin.petersonsetkeywords: + patch
pull_requests: + pull_request6304
2018-04-25 18:28:25serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg315753

keywords: + easy
stage: patch review
2018-04-25 18:13:44uzumecreate