You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
global name 'TimeoutError' is not defined
When the TimeoutError is raised in Python 2.7 it results in a NameError. From what I can tell TimeoutError wasn't introduced until Python 3.3
Recommendation
Please define a custom "TimeoutError" class in the beginning of the library for systems using Python 2. It would be very helpful to be able to handle this error in my code where I import the library when this happens. Right now I have to handle it as a "NameError" instead.
The text was updated successfully, but these errors were encountered:
global name 'TimeoutError' is not defined
When the TimeoutError is raised in Python 2.7 it results in a NameError. From what I can tell TimeoutError wasn't introduced until Python 3.3
Recommendation
Please define a custom "TimeoutError" class in the beginning of the library for systems using Python 2. It would be very helpful to be able to handle this error in my code where I import the library when this happens. Right now I have to handle it as a "NameError" instead.
The text was updated successfully, but these errors were encountered: