Re: [Python-Dev] Re: marshal / unmarshal

2005-04-12 Thread Michael Hudson
My mail is experincing random delays of up to a few hours at the moment. I wrote this before I saw your comments on my patch. Tim Peters <[EMAIL PROTECTED]> writes: > [Michael Hudson] >> I've just submitted http://python.org/sf/1180995 which adds format >> codes for binary marshalling of floats

Re: [Python-Dev] Re: marshal / unmarshal

2005-04-12 Thread Tim Peters
... [mwh] >>> I recall stories of machines that stored the bytes of long in some >>> crazy order like that. I think Python would already be broken on such >>> a system, but, also, don't care. [Tim] >> Python does very little that depends on internal native byte order, >> and C hides it in the ab

Re: [Python-Dev] Re: marshal / unmarshal

2005-04-12 Thread Michael Hudson
Tim Peters <[EMAIL PROTECTED]> writes: > ... > > [mwh] I recall stories of machines that stored the bytes of long in some crazy order like that. I think Python would already be broken on such a system, but, also, don't care. > > [Tim] >>> Python does very little that depends on int

RE: [Python-Dev] args attribute of Exception objects

2005-04-12 Thread Raymond Hettinger
[Sébastien de Menten] > 2) Could this be changed to .args more in line with: > a) first example: e.args = ('foo', "NameError: name 'foo' is not > defined") > b) second example: e.args = (4, 'foo', "'int' object has no attribute > 'foo'",) > the message of the string can even be retrieved

[Python-Dev] Python tests fails on HP-UX 11.11 and core dumps

2005-04-12 Thread Senthil Prabu.S
Hello Experts,    I tried python -4.2.1 on a HP-UX 11.11 PA machine. I was able to python. Gmake passes, gmake test results in error. The python reported that test_pty fails,when running this test alone.   Can anyone help to find why core dumps at running the test_subprocess.py test. A