I don't have Python 25 on my computer, but since <a href="http://codepad.org">codepad.org</a> is using Python 2.5.1, I did a quick test:<br><br># input<br>try:<br>    raise Exception("Mrraa!")<br>except Exception as msg:<br>

    print msg<br><br># output<br>t.py:3: Warning: 'as' will become a reserved keyword in Python 2.6<br>  Line 3<br>    except Exception as msg:<br>                      ^<br>SyntaxError: invalid syntax<br><br>#########<br>

<br>Well that's interesting. as isn't a keyword yet in Python 2.5.<br><br>This works though, and I think it fits the specification in the documentation.<br><br># input<br>try:<br>    raise Exception("Mrraa!")<br>

except Exception, msg:  # Notice it's a comma<br>    print msg<br><br># output<br>
Mrraa!<br><br>##############<br><br>Hope that helps,<br>Xav<br>