Issue2426

classification
Title: Support socket shutdown with "how" of _socket.SHUT_RDWR (2)
Type: Severity: normal
Components: Library Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: teeohhem, zyasoft
Priority: Keywords:

Created on 2015-11-12.15:53:32 by teeohhem, last changed 2015-11-21.16:30:28 by zyasoft.

Messages
msg10462 (view) Author: Tom Alexander (teeohhem) Date: 2015-11-12.15:53:31
The _socket.shutdown() method should accept a value of _socket.SHUT_RDWR (or 2) to shut off both the read and write operations of the socket at the same time. Currently the way the code is written, that value is effectively ignored.
msg10463 (view) Author: Tom Alexander (teeohhem) Date: 2015-11-12.15:58:27
Created a pull request: https://github.com/jythontools/jython/pull/24
msg10478 (view) Author: Jim Baker (zyasoft) Date: 2015-11-14.16:06:27
Should be fixed as of https://hg.python.org/jython/rev/e974921ae9bb, although probably would be best if tested
msg10492 (view) Author: Jim Baker (zyasoft) Date: 2015-11-21.16:30:28
This is now tested (there was a broken test introduced by this change); see https://hg.python.org/jython/rev/e7c755355c88
History
Date User Action Args
2015-11-21 16:30:28zyasoftsetstatus: pending -> closed
messages: + msg10492
2015-11-14 16:06:27zyasoftsetstatus: open -> pending
resolution: fixed
messages: + msg10478
nosy: + zyasoft
2015-11-12 15:58:27teeohhemsetmessages: + msg10463
2015-11-12 15:53:32teeohhemcreate