Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-942

Error in changelog guidance for Python 3 (find timeout parameter)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.0.3
    • Affects Version/s: 3.0.2
    • Component/s: None
    • None

      In the changelog (http://api.mongodb.org/python/current/changelog.html), it states:

      The following find/find_one options have been renamed:

      These renames only affect your code if you passed these as keyword arguments, like find(fields=[‘fieldname’]). If you passed only positional parameters these changes are not significant for your application.

      timeout -> no_cursor_timeout

      However, the meaning of timeout and no_cursor_timeout are not the same. They're in fact the opposite. Therefore, passing the same parameter in the same position would have the opposite of the intended effect. It should be made more clear that the meaning has changed.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            jason.coombs@yougov.com Jason R. Coombs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: