diff options
author | Bert JW Regeer <xistence@0x58.com> | 2019-04-05 13:17:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 13:17:01 -0500 |
commit | ecf13757fd585dbf7f2f9539663c69e261442c29 (patch) | |
tree | 8ccf5daf78d61c84202bb81218352f6d34f13ce9 | |
parent | b4df0057b599d84f8e55beaab55b9be6c0958ce7 (diff) | |
download | waitress-ecf13757fd585dbf7f2f9539663c69e261442c29.tar.gz |
clarify comment on len() issues
Co-Authored-By: mmerickel <github@m.merickel.org>
-rw-r--r-- | waitress/channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waitress/channel.py b/waitress/channel.py index 2da4016..27eb532 100644 --- a/waitress/channel.py +++ b/waitress/channel.py @@ -222,7 +222,7 @@ class HTTPChannel(wasyncore.dispatcher, object): while True: outbuf = self.outbufs[0] # use outbuf.__len__ rather than len(outbuf) FBO of not getting - # OverflowError on Python 2 + # OverflowError on 32-bit Python outbuflen = outbuf.__len__() while outbuflen > 0: chunk = outbuf.get(self.sendbuf_len) |