MotorChangeStream uses Python 3.5.0 async iterator protocol

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.0
    • Affects Version/s: 1.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I mistakenly implemented "async for change in collection.watch()" using the asynchronous iteration protocol introduced in Python 3.5.0. The protocol changed in 3.5.2, and the previous version was scheduled for removal in Python 3.7:

      https://www.python.org/dev/peps/pep-0492/#api-design-and-implementation-revisions

      This mistake is apparent now that Python 3.7 is out.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: