1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1220, closes #1389)

This commit is contained in:
Sébastien Helleu
2019-10-12 22:21:48 +02:00
parent 8fc8f728d4
commit 513f5a1ee7
13 changed files with 903 additions and 200 deletions
+1 -1
View File
@@ -61,6 +61,6 @@ extern struct t_hashtable *weechat_python_dict_to_hashtable (PyObject *dict,
const char *type_values);
extern void *weechat_python_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char *format, void **argv);
const char *format, void **argv);
#endif /* WEECHAT_PLUGIN_PYTHON_H */