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

Remove _event_class, _monitor_class, and _pool_class hooks

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      PyMongo can simplify some internals by removing the hooks created for Motor. They're not used beginning with Motor 0.7 (MOTOR-112). This can be done without fear of breaking dependencies: Motor before 0.7 requires PyMongo 2.8.0 exactly, and other applications shouldn't have used the hooks because they were undocumented and surrounded with code comments telling third parties not to use them.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: