titegtnodI / BennuBot

An open-source, multi-protocol, multi-server, cross-platform, python bot run mainly off of plugins.
7 stars 4 forks source link

Coroutine Support #23

Open titegtnodI opened 10 years ago

titegtnodI commented 10 years ago

Coroutine support requires Python 3.4+ support. This will likely deprecate almost everything. Considering every up-to-date mainstream Linux distro seems to have a Python 3.4 package, this shouldn't be too big of an issue. I have no interest in supporting Python 2.7 anymore.

titegtnodI commented 10 years ago

We're going to have queues, 1 queue per extra thread likely. Maybe also have support for running BennuBot off of just 1 thread (though, probably not optimal, this feature should be included). Also going to have a constant that defines maximum allowed threads.

titegtnodI commented 10 years ago

Python 3.4 support was added in, see #26. I decided to continue supporting Python 2.7 for now. Partially because I don't want to drop Skype support completely.