Jason R. Coombs
Jason R. Coombs
The problem with both irccat scripts is they're not written for asynchronous programming. They either bypass the event loop (in the case of irccat2) or hijack it (in the case...
One way would be to subclass Reactor and override `process_forever` to run until some state changes. Another would be to have your own event loop that calls `reactor.process_once` until a...
Those all seem like reasonable ideas. The AsyncIO support is fairly new, so as long as @MattBroach is comfortable with the changes, I'm happy to accept them (even if backward-breaking).
> Do you mind if I also clean some code for the non-async part along the way if I happen to find any? In general, this sort of contribution should...
> I'll put all async code in a subfolder That seems reasonable. I'd especially like it if there were symmetry with another package that served for non-async mode. For example,...
Since this discussion began, this project has dropped support for Python 2 and the async implementation has expanded, so progress is being made.
I don't have access to `main.py`. Can you provide a bit more context?
Thanks for the suggestion. I'd welcome additional documentation. I've always managed by hacking through the source, but I'd be very much delighted if someone were to author some docs, especially...
[This library](https://github.com/icgood/pysasl) hints at how it may be done.
Or [maybe this](https://github.com/jesopo/ircrobots/blob/master/ircrobots/sasl.py).