[pypy-dev] Re: deep breakage

Michael Hudson mwh at python.net
Mon Jun 9 15:59:57 CEST 2003


Guido van Rossum <guido at python.org> writes:

>> From: Armin Rigo <arigo at tunes.org>
>> To: Michael Hudson <mwh at python.net>
>> Subject: Re: [pypy-dev] [gmane.comp.python.pypy] deep breakage
>> 
>> Hello Michael,
>> 
>> On Sat, Jun 07, 2003 at 08:38:32PM +0100, Michael Hudson wrote:
>> > try:
>> >     "x" + 1
>> > except TypeError, e:
>> >     raise e
>> > 
>> > because here 'e' gets bound to a *string* and then this is what's
>> > reraised.
>
> This is of course false.  e gets a TypeError instance (or at least
> that's what it does in CPython, and what it should do).

Heh, no it *was* true for PyPy, and I was describing a bug.

I think I've fixed it now (I made a bunch of checkins an hour or so
ago).

Cheers,
M.

-- 
  It could be argued that since Suitespot is infinitely terrible,
  that anything else, by very definition of being anything else,
  is infinitely superior.                -- ".", alt.sysadmin.recovery



More information about the Pypy-dev mailing list