hai shi <shihai1...@126.com> added the comment:

1. the message property of PyBaseExceptionObject(Exception) have been cancelled.

[1] https://github.com/python/cpython/blob/2.7/Include/pyerrors.h#L13
[2] https://github.com/python/cpython/blob/master/Include/cpython/pyerrors.h#L18

2. `except Exception, e` is a python2.x behavior, pls use `except Exception as 
e` in python3.x

----------
nosy: +shihai1991

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37718>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to