This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, shihai1991, xxm
Date 2020-11-25.18:19:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606328366.76.0.690315362744.issue37718@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-11-25 18:19:26iritkatrielsetrecipients: + iritkatriel, shihai1991, xxm
2020-11-25 18:19:26iritkatrielsetmessageid: <1606328366.76.0.690315362744.issue37718@roundup.psfhosted.org>
2020-11-25 18:19:26iritkatriellinkissue37718 messages
2020-11-25 18:19:26iritkatrielcreate