Python: Add support for attributes in hooks
Python: Use keywords for attributes in emit_print()
Merge xchat r1525

Fixes possible crash
Merge pull request #689 from hexchat/python-attributes

Python: Add support for attributes in hooks
Python: return hooks with PyLong_FromVoidPtr

Fixes #685