[issue23830] Add AF_IUCV support to sockets

2015-06-11 Thread Neale Ferguson
Neale Ferguson added the comment: Updated patch against head (96580:3156dd82df2d). Built on s390x and x86_64. Test suite ran on both - tests successfully ignored on x86_64 and passed on s390x. -- versions: +Python 3.6 -Python 3.5 Added file: http://bugs.python.org/file39683/af_iucv_cpy

[issue23830] Add AF_IUCV support to sockets

2015-04-06 Thread Neale Ferguson
Neale Ferguson added the comment: Removed two debug statements -- Added file: http://bugs.python.org/file38852/af_iucv.patch35 ___ Python tracker ___

[issue23830] Add AF_IUCV support to sockets

2015-04-06 Thread Neale Ferguson
Neale Ferguson added the comment: Attaching a patch based off 3.5.0a3. Note, for Py_ssize_t I had to add: #ifdef PY_SSIZE_T_CLEAN Py_ssize_t lNode, lUser, lName; #else int lNode, lUser, lName; #endif As if I did not, the values I got back were garbage. Is this because of some

[issue23830] Add AF_IUCV support to sockets

2015-04-06 Thread Neale Ferguson
Neale Ferguson added the comment: Corrected declaration of args to PyArg_ParseTuple() from int to Py_ssize_t. -- Added file: http://bugs.python.org/file38845/af_iucv.patch ___ Python tracker ___

[issue23830] Add AF_IUCV support to sockets

2015-04-05 Thread Armin Rigo
Armin Rigo added the comment: The PyArg_ParseTuple() size arguments should be of type "Py_ssize_t" instead of "int". -- nosy: +arigo ___ Python tracker ___ _

[issue23830] Add AF_IUCV support to sockets

2015-04-02 Thread Neale Ferguson
: [issue23830] Add AF_IUCV support to sockets Nick Coghlan added the comment: Slavek, there's an s390x patch here to add AF_IUCV support to the socket module. One interesting point to note is that s390x isn't an officially supported CPython architecture by the terms of PEP 11. While I

[issue23830] Add AF_IUCV support to sockets

2015-04-02 Thread Nick Coghlan
Nick Coghlan added the comment: Slavek, there's an s390x patch here to add AF_IUCV support to the socket module. One interesting point to note is that s390x isn't an officially supported CPython architecture by the terms of PEP 11. While I can vouch for it working there (courtesy of beaker-pro

[issue23830] Add AF_IUCV support to sockets

2015-04-01 Thread Neale Ferguson
Neale Ferguson added the comment: Corrected a length error in the strip routine Initialized the end of string indicator -- Added file: http://bugs.python.org/file38789/af_iucv.patch ___ Python tracker _

[issue23830] Add AF_IUCV support to sockets

2015-04-01 Thread Neale Ferguson
Neale Ferguson added the comment: Updated patch - Removes tabs - Strips name/user/node returned by connect - Checks lengths of name/user/node -- Added file: http://bugs.python.org/file38788/af_iucv.patch ___ Python tracker

[issue23830] Add AF_IUCV support to sockets

2015-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The CA ack is a * added after your name here. May take a week. If you are asking whether to submit a new patch against 3.5, with suggested fixes, yes, please do . -- nosy: +terry.reedy stage: -> patch review versions: +Python 3.5 -Python 2.7

[issue23830] Add AF_IUCV support to sockets

2015-04-01 Thread Neale Ferguson
Neale Ferguson added the comment: Thanks. Question/responses in-line On 4/1/15, 11:14 AM, "Amaury Forgeot d'Arc" wrote: > >Amaury Forgeot d'Arc added the comment: > >Hi, >First, please fill and submit a Contribution Agreement: >https://www.python.org/psf/contrib/ Done but I never got the email

[issue23830] Add AF_IUCV support to sockets

2015-04-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Hi, First, please fill and submit a Contribution Agreement: https://www.python.org/psf/contrib/ Then about the patch: - This is a patch against Python2.7, which is frozen for new developments. This change will only be applied to python 3.5 or later. - Th

[issue23830] Add AF_IUCV support to sockets

2015-03-31 Thread Neale Ferguson
New submission from Neale Ferguson: IUCV is a hypervisor mediated communications method for z/VM guest virtual machines. Linux on z Systems (aka s390x) has supported this via the use of AF_IUCV sockets for many years (added to kernel Feb 2007). This suggested patch adds support to Python 2.7.9