Package: python3-urwid Version: 2.0.1-3 When I installed this package, my terminal log included these messages:
Setting up python3-urwid (2.0.1-3) ... /usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:141: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? assert result == expected, "got: %r expected: %r" (result, expected) /usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:145: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? assert result == expected, "got: %r expected: %r" (result, expected) /usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:149: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? assert result == expected, "got: %r expected: %r" (result, expected) /usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:232: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? assert result == expected, "got: %r expected: %r" (result, expected) Of course, it isn't a _comma_ missing in each of these cases. It's a %, which should separate the Python 2 / printf style format string from its tuple of arguments. I suggest the attached patch. Cheers, Simon -- import hashlib; print((lambda p,q,g,y,r,s,m: (lambda w:(pow(g,int(hashlib.sha1( m.encode('ascii')).hexdigest(),16)*w%q,p)*pow(y,r*w%q,p)%p)%q)(pow(s,q-2,q))==r and m)(0xb80b5dacabab6145,0xf70027d345023,0x7643bc4018957897,0x11c2e5d9951130c9 ,0xa54d9cbe4e8ab,0x746c50eaa1910, "Simon Tatham <ana...@pobox.com>" ))
urwid-percents.diff
Description: Binary data