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

Remove Gevent-specific code

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.1
    • 3.0
    • None
    • None
    • Major Change

    Description

      PyMongo 2.x has Gevent-specific code to support Gevent with or without patch_thread. However, patch_socket is always required with Gevent.

      In PyMongo 3, remove all Gevent-specific code and rely on Gevent's patch_all. Gevent support in PyMongo 3 will be equal to support for Eventlet, Greenhouse, and any future monkey-patching greenlet frameworks.

      Remove the "use_greenlets" option.

      Review PyMongo's testing under Gevent patch_all to ensure continued coverage.

      Attachments

        Issue Links

          Activity

            People

              jesse@mongodb.com A. Jesse Jiryu Davis
              justin@idle-games.com Justin Patrin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: