Josh Snider added the comment: Here's a patch that raises an exception when _put[w]ch and _get[w]ch[e] are run without a console. Like Eryk Sun says, the get's work fine if you do unget before hand.
---------- keywords: +patch nosy: +Josh Snider Added file: http://bugs.python.org/file42501/issue25386.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25386> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com