Irit Katriel added the comment:
Right, the message field on exceptions was removed in python 3 (it was
deprecated since Python 2.6).
2to3 can't automatically fix this, because as a static translator it doesn't
know that the object on which you are accessing .message is an exception.
---
hai shi 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 pyth
New submission from Xinmeng Xia :
we run the converted Python3 code, the following error will happen:
Traceback (most recent call last):
File "/home/xxm/Desktop/instrument/datasetpy3/Labeled-LDA-Python/example.py",
line 50, in
llda_model.save_model_to_dir(save_model_dir)
File
"/home/x