homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients
Date 2003年06月14日.13:43:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=21627
This is not a bug in Python. In _cursesmodule.c rev. 2.70,
Patch #633635 from David M. Cooke was implemented, which
makes the implementation match the documentation:
getch([x, y])
Get a character. Note that the integer returned does not
have to be in ASCII range: function keys, keypad keys and so
on return numbers higher than 256. In no-delay mode, an
exception is raised if there is no input. 
This exception is raised when the underlying wgetch returns
ERR, so if there is a bug here, it might be in ncurses, for
having wgetch return on window change.
History
Date User Action Args
2007年08月23日 14:13:56adminlinkissue754455 messages
2007年08月23日 14:13:56admincreate

AltStyle によって変換されたページ (->オリジナル) /