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 Julian
Recipients Julian, vstinner
Date 2012-10-21.01:25:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350782737.16.0.822622780307.issue16293@psf.upfronthosting.co.za>
In-reply-to
Content
The following code now raises an OverflowError on 3.3:

import curses

def test_screen(screen):
    screen.nodelay(True)
    key = screen.getch()
    screen.nodelay(False)
    curses.ungetch(key)

curses.wrapper(test_screen)

or equivalently just

def test_screen(screen):
    curses.ungetch(-1)
History
Date User Action Args
2012-10-21 01:25:37Juliansetrecipients: + Julian, vstinner
2012-10-21 01:25:37Juliansetmessageid: <1350782737.16.0.822622780307.issue16293@psf.upfronthosting.co.za>
2012-10-21 01:25:36Julianlinkissue16293 messages
2012-10-21 01:25:36Juliancreate