Explicitly close sockets

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When an instance of Pool.pool is deallocated we should be explicitly closing any sockets currently in the pool. This isn't a huge issue in CPython since sockets are implicitly closed but can cause problems with other interpreters (I'm looking closely at you Jython...). Python3.2 and newer raise ResourceWarning related to this in unittests.

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

                Created:
                Updated:
                Resolved: