317070 / python-twitch-stream

Python-twitch-stream is a simple lightweight library, which you can use to send your python video to twitch and react with the chat in real time.
MIT License
59 stars 22 forks source link

Python 3.5 compatibility #10

Closed Gachl closed 7 years ago

Gachl commented 7 years ago

Socket message sending and receiving has changed from using plain strings to "byte-like" types which is achieved by encoding or decoding the message before and after receiving. I've chosen utf-8 as it's the most common but may break chat functionality for certain languages. Maybe it should become a parameter of the TwitchChatStream class.

The changes will not break compatibility with Python2.7.

317070 commented 7 years ago

Awesome, thanks!