goodboy
goodboy
@arconamagi you cool with getting these changes into upstream?
@mgwilliams just got pinged by someone on the original version of the project before `asyncio` (i.e. the first evolution `switchy`) and I wondered over the to project and saw all...
By default `switchio`'s internal [event loop](https://github.com/friends-of-freeswitch/switchio/blob/master/switchio/loop.py#L55) spawns a background thread which runs an `asyncio` event loop for processing events from FS. The original reason for this was legacy (before porting...
A bunch of the doc strings are causing ``sphinx`` warnings like: ``` WARNING: repos/switchio/switchio/api.py:docstring of switchio.api.Client.set_orig_cmd:8: (SEVERE/4) Unexpected section title. Returns ------- ``` Coordinate with #10 to fix these.
Need to showcase in the readme and docs! As part of this It's likely many of the apps will be converted.
The `logging` cookbook has a good snippet on using the `extra` keyword to [add contextual info to output](https://docs.python.org/3/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output). It also suggests **not** using `Logger` instances per connection like [we do](https://github.com/friends-of-freeswitch/switchio/blob/master/switchio/connection.py#L138)....
Our homegrown [`switchio.models.Events`](https://github.com/friends-of-freeswitch/switchio/blob/master/switchio/models.py#L25) data structure for storing event streams looks a lot like the stdlib's [`collections.ChainMap`](https://docs.python.org/3.3/library/collections.html#collections.ChainMap). The only major difference seems to be that `Events` supports slicing which should be...
Version `3.3` of `pytest` now supports capturing and verifying `logging` messages. That's definitely useful for a bunch of tests in the suite and those tests need to be noted and...
This is to address concerns that @k4ml had in #47. I've added the use of the `park_timeout` channel variable to our CI dialplan as well as a test to verify...
This should give us a significant speedup although we should it in a way that keeps `pypy` support. The functions I can think of offhand are: - [`data_received()`](https://github.com/friends-of-freeswitch/switchio/blob/master/switchio/protocol.py#L163) - [`read_contents()`](https://github.com/friends-of-freeswitch/switchio/blob/master/switchio/protocol.py#L153)...