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

MotorChangeStream uses Python 3.5.0 async iterator protocol

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: 1.2
    • Component/s: 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:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: