Message13106
Calling poll() on a SSLSocket registered with POLLHUP causes the following AttributeError: 'SSLSocket' object has no attribute 'channel'
File "pymongo/socket_checker.py", line 57, in select
res = self._poller.poll(timeout * 1000)
File "/usr/local/Cellar/jython/2.7.2/libexec/Lib/_socket.py", line 592, in poll
result = self._handle_poll(partial(self.queue.poll, timeout_in_ns, TimeUnit.NANOSECONDS))
File "/usr/local/Cellar/jython/2.7.2/libexec/Lib/_socket.py", line 541, in _event_test
fd, event = self._event_test(notification)
File "/usr/local/Cellar/jython/2.7.2/libexec/Lib/_socket.py", line 541, in _event_test
if mask & POLLHUP and (notification.hangup or not notification.sock.channel):
AttributeError: 'SSLSocket' object has no attribute 'channel'
I can reproduce this bug with Jython 2.7.0+2.7.1+2.7.2. |
|
Date |
User |
Action |
Args |
2020-07-15 01:36:30 | shane | set | recipients:
+ shane |
2020-07-15 01:36:30 | shane | set | messageid: <1594776990.34.0.961755459204.issue2900@roundup.psfhosted.org> |
2020-07-15 01:36:30 | shane | link | issue2900 messages |
2020-07-15 01:36:30 | shane | create | |
|