Re: Current gdb python errors on python-2.4
Phil Muldoon <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/06/13 14:34, Phil Muldoon wrote:
> The only way (I know) to get exceptions to work for all versions of
> Python is to do something like:
>
> except Exception:
> e = sys.exc_info[1]
>
Oops, typo. I mean:
except Exception:
e = sys.exc_info()[1]
Cheers,
Phil