[Python-Dev] Python 2.5.1 ported to z/OS and EBCDIC

2007-10-22 Thread Lauri Alanko
Hello. Based on Jean-Yves Mengant's work on previous versions, I have ported Python 2.5.1 to z/OS. A patch against current svn head is attached to http://bugs.python.org/issue1298. The same patch should work with very little changes also against pristine 2.5.1 sources. (The only failing hunk is

Re: [Python-Dev] Python 2.5.1 ported to z/OS and EBCDIC

2007-10-22 Thread Greg Ewing
Lauri Alanko wrote: In the end, for now, I made protocol 0 textual, That could be a mistake. I believe there are some objects, such as array.array, that use a binary format for pickling even in protocol 0. -- Greg ___ Python-Dev mailing list

Re: [Python-Dev] Python 2.5.1 ported to z/OS and EBCDIC

2007-10-22 Thread Terry Reedy
Lauri Alanko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] | All this just shows that treating plain octet sequences as strings | simply won't work in the long run. You have to have separate type for | _textual_ data (i.e. Unicode strings, in Python), and encode and decode | between