When using python 3.6.6 i found some errors, the PR #79 wasn't tested enough.
In python 3.6.6 there was no attribute message on the exception object and in both versions the object is already the desired message, so there is no need to do exception.message.
raw_input() has also been renamed to input() in python 3, but it also exists in python 2 and it is equivalent to eval(input()) which is not secure, so we only use input() when raw_input() doesn't exists.
Excepting errors but not using as to define the error variable doesn't work in python 3
When using python 3.6.6 i found some errors, the PR #79 wasn't tested enough.
In python 3.6.6 there was no attribute message on the exception object and in both versions the object is already the desired message, so there is no need to do
exception.message
.raw_input()
has also been renamed toinput()
in python 3, but it also exists in python 2 and it is equivalent toeval(input())
which is not secure, so we only useinput()
whenraw_input()
doesn't exists.Excepting errors but not using
as
to define the error variable doesn't work in python 3