summary refs log tree commit diff stats
path: root/plugins/python/_hexchat.py
diff options
context:
space:
mode:
authorlinuxdaemon <linuxdaemon@users.noreply.github.com>2018-12-27 13:46:02 -0600
committerTingPing <tingping@tingping.se>2018-12-27 14:46:02 -0500
commita5a727122b66c9003b44fcdc199ad56dbe15a131 (patch)
tree63a33c65a4c266962ede9f9b186f62a4ddd7e532 /plugins/python/_hexchat.py
parentf7713a6a64ee55d3c20e9e27b8f8a5e98385ff57 (diff)
python: Make sure `help()` doesn't cause hexchat to hang (#2290)
* Make sure `help()` doesn't cause hexchat to hang

Replace `pydoc.help` with a copy of `pydoc.Helper` with an empty
`StringIO` instead of stdin

* Handle BytesIO vs StringIO on 2.7
Diffstat (limited to 'plugins/python/_hexchat.py')
0 files changed, 0 insertions, 0 deletions