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
Neale Ferguson added the comment:
Removed two debug statements
--
Added file: http://bugs.python.org/file38852/af_iucv.patch35
___
Python tracker
<http://bugs.python.org/issue23
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
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
<http://bugs.python.org/issue23
Neale Ferguson added the comment:
I can provide one if required. I have access to an s390x Linux Foundation
machine where I have a couple of virtual machines that could be used.
Original message
From: Nick Coghlan
Date:2015/04/02 06:35 (GMT-05:00)
To: Neale Ferguson
Subject
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
<http://bugs.python.org/issue23
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
<http://bugs.python.
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
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