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 if

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 absence of

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 internal native byte

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 with