Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-484

@coroutine decorator is deprecated in Python 3.8

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.2
    • Affects Version/s: None
    • Component/s: None
    • None

      Running Motor 2.1 with Python 3.8 gives deprecation warnings that state to use "async def" instead of "@coroutine" decorator

       

      DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead

       

      Thank you

            Assignee:
            Unassigned Unassigned
            Reporter:
            tscorpan@gmail.com Teodor Scorpan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: