[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2013-05-25 Thread Lauri Alanko
New submission from Lauri Alanko: In Modules/_ctypes/stgdict.c:567 there is a suspicious line: stgdict->length = len; /* ADD ffi_ofs? */ That is, the length field of the stgdict is set to the number of fields in the immediate Structure class, and the number of fields in the par

[issue1298] Support for z/OS and EBCDIC.

2007-10-24 Thread Lauri Alanko
Lauri Alanko added the comment: The port is certainly not yet "complete" in any sense. I have only fixed the most obvious places where explicit conversion between ASCII/Unicode values and platform-specific characters is required. There are a number of remaining issues, some of which

[issue1298] Support for z/OS and EBCDIC.

2007-10-22 Thread Lauri Alanko
Lauri Alanko added the comment: Further comments on the port can be at: http://mail.python.org/pipermail/python-dev/2007-October/074991.html __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1298] Support for z/OS and EBCDIC.

2007-10-19 Thread Lauri Alanko
Lauri Alanko added the comment: How do you measure importance? Z/OS is not important to many people in the world, but to those to whom it is important, it is _very_ important, in a very tangible way. It was certainly important enough for someone to port Python to it

[issue1298] Support for z/OS and EBCDIC.

2007-10-19 Thread Lauri Alanko
Lauri Alanko added the comment: The character set of EBCDIC is a superset of the character set of ASCII. In fact CP1047, the variant used on z/OS, has the same character set as Latin-1. Only the encoding is completely different. As a non-ASCII platform, z/OS is certainly challenging for people