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

@coroutine decorator is deprecated in Python 3.8

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: