-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: 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.