1. 12 Apr, 2021 5 commits
  2. 09 Apr, 2021 2 commits
    • John Snow's avatar
      Add more docstrings · ec10c23f
      John Snow authored
      More tidying and bits and pieces designed to make this development draft
      easier to understand in places.
      
      Tweaked a few things, too:
      
      - Made AsyncProtocol's on_message implementation do nothing instead of
        abstract. The default implementation will log incoming messages, and
        maybe that's enough to be useful in a very abstract sense.
      
      - Added an _execute() method for the QMP protocol implementation, which
        removes the safety mechanisms from _execute_obj and allows a slightly
        more low-level execution.
      
      - Renamed _execute_obj() to _execute_msg().
      ec10c23f
    • John Snow's avatar
      use EOFError instead of EOF · 07f468b1
      John Snow authored
      There's a built-in exception that represents EOF; use that one instead
      of defining our own. This exception is documented as belonging to the
      input() method, but it's probably fine to recycle it here.
      07f468b1
  3. 08 Apr, 2021 1 commit
    • John Snow's avatar
      _bh_disconnect cleanup · 671e7938
      John Snow authored
      The concern is that the outgoing queue may have some remnant data it was
      not able to deliver, depending on timing. Don't worry about asserting it
      is empty, simply drop the queue on reconnect and change the assertions
      accordingly.
      671e7938
  4. 04 Dec, 2020 4 commits
  5. 03 Dec, 2020 5 commits
  6. 30 Nov, 2020 1 commit
    • John Snow's avatar
      Python 3.6 compatibility ... · 144f9e12
      John Snow authored
      Almost. There are a few 3.7isms remaining:
      
      mypy doesn't like the version workaround:
      
      aqmp.py:60: error: Returning Any from function declared to return "Future[T]"
      aqmp.py:60: error: Module has no attribute "create_task"
      
      
      These are just legitimately not present. Is it important to have them? ...
      
      aqmp.py:266: error: "StreamWriter" has no attribute "is_closing"
      aqmp.py:272: error: "StreamWriter" has no attribute "wait_closed"
      
      
      Needs an alternative runner:
      
      aqmp.py:698: error: Module has no attribute "run"
      Found 5 errors in 1 file (checked 6 source files)
      144f9e12
  7. 20 Nov, 2020 3 commits
  8. 19 Nov, 2020 3 commits
  9. 18 Nov, 2020 2 commits
  10. 17 Nov, 2020 4 commits
  11. 16 Nov, 2020 1 commit
  12. 11 Nov, 2020 3 commits
  13. 10 Nov, 2020 5 commits