Walter Woods <woodswal...@gmail.com> added the comment: Little more info:
The actual snippet from couchdb-python is: if int(resp.getheader('content-length', sys.maxsize)) < CHUNK_SIZE: Which should be valid python . . . calling int() on an integer should work, and calling int() on a string expected to be an integer should work. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8572> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com