Author shane
Recipients shane
Date 2020-07-15.01:36:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Calling poll() on a SSLSocket registered with POLLHUP causes the following AttributeError: 'SSLSocket' object has no attribute 'channel'

  File "pymongo/", line 57, in select
    res = self._poller.poll(timeout * 1000)
  File "/usr/local/Cellar/jython/2.7.2/libexec/Lib/", 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/", line 541, in _event_test
    fd, event = self._event_test(notification)
  File "/usr/local/Cellar/jython/2.7.2/libexec/Lib/", line 541, in _event_test
    if mask & POLLHUP and (notification.hangup or not
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:30shanesetrecipients: + shane
2020-07-15 01:36:30shanesetmessageid: <>
2020-07-15 01:36:30shanelinkissue2900 messages
2020-07-15 01:36:30shanecreate