We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05267fb commit b6bf4f0Copy full SHA for b6bf4f0
pymongo/socket_checker.py
@@ -16,8 +16,11 @@
16
17
import errno
18
import select
19
+import sys
20
-_HAVE_POLL = hasattr(select, "poll")
21
+# PYTHON-2320: Jython does not fully support poll on SSL sockets,
22
+# https://bugs.jython.org/issue2900
23
+_HAVE_POLL = hasattr(select, "poll") and not sys.platform.startswith('java')
24
_SelectError = getattr(select, "error", OSError)
25
26
0 commit comments