summary refs log tree commit diff stats
path: root/plugins/python/python.py
AgeCommit message (Collapse)Author
2023-04-24python: fix for timers that unhook themselvesCelelibi
The python plugin use weak references for hooks, which might let a necessary object disappear if the callback of a timer hook unhooks itself. Signed-off-by: Celelibi <celelibi@gmail.com>
2023-04-03python: add flush() to StdoutCelelibi
Python sometime calls flush() on sys.stdout or sys.stderr. In particular, it might do so when an exception is raised. This fixes the second error message that was generated in such cases. Signed-off-by: Celelibi <celelibi@gmail.com>
2022-05-07fix addons load in python2DjLegolas
2022-04-15python: Fix API break in hook_timer()Patrick
Closes #2691
2021-10-02python: Open all scripts with utf-8 encodingPatrick Griffis
2021-05-28python: Fix off by one rangeAlexandre Jousset
The range goes from 31 to 1 inclusive (#2391).
2019-01-02python: plugin cleanup and refactorA_D
2018-12-27python: Make sure `help()` doesn't cause hexchat to hang (#2290)linuxdaemon
* 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
2018-12-26python: Make the plugins table dynamically sized (#2291)linuxdaemon
Adjust the width of the columns depending on the length of the data in each element
2018-12-26python: Made sure to set sys.argv if it is not set. fixes #2282A_D
2018-12-05python: Fix console not eating commandsPatrick Griffis
2018-11-09python: Various cffi fixesA_D
- fixed /py exec behaviour - fixed hexchat.unload_hook() failing when passed a hook id - fixed get_list() calls in python3
2018-11-09python: Rewrite with CFFIPatrick Griffis