Re: [PATCH v3 4/4] python/aqmp: add socket bind step to legacy.py

2022-01-31 Thread John Snow
On Thu, Jan 27, 2022 at 10:50 AM Hanna Reitz wrote: > > On 24.01.22 19:06, John Snow wrote: > > The synchronous QMP library would bind to the server address during > > __init__(). The new library delays this to the accept() call, because > > binding occurs inside of the call to start_[unix_]server

Re: [PATCH v3 4/4] python/aqmp: add socket bind step to legacy.py

2022-01-27 Thread Hanna Reitz
On 24.01.22 19:06, John Snow wrote: The synchronous QMP library would bind to the server address during __init__(). The new library delays this to the accept() call, because binding occurs inside of the call to start_[unix_]server(), which is an async method -- so it cannot happen during __init__

[PATCH v3 4/4] python/aqmp: add socket bind step to legacy.py

2022-01-24 Thread John Snow
The synchronous QMP library would bind to the server address during __init__(). The new library delays this to the accept() call, because binding occurs inside of the call to start_[unix_]server(), which is an async method -- so it cannot happen during __init__ anymore. Python 3.7+ adds the abilit