Closed willow-bohlen closed 7 years ago
This can't be done yet. We can't assume that everyone is always on 3.6, because it's too new. This is being pushed to 0.5.
fiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiinnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnneeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Merged into #254
I was just looking around in the code, and noticed this at line 88 of cactusbot/handler.py:
# TODO: In Python 3.6, with asynchronous generators:
# yield packet
Well we're in 3.6 now, so go for it.