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
Sorry for the late response. This is caused by your Python version, the dict comprehension {k:v for k in xxx} syntax is not supported by Python 2.6. I can just change this to another way but there are still a large number of 2.6 incompatible code in this project, I don't have that much time to make the code support for 2.6. Sincerely sorry :(
python httpstat.py httpbin.org/get
File "httpstat.py", line 110
grayscale = {(i - 232): make_color('38;5;' + str(i)) for i in xrange(232, 256)}
^
SyntaxError: invalid syntax
Redhat 6.5, Python 2.6
The text was updated successfully, but these errors were encountered: