[issue5210] zlib does not indicate end of compressed stream properly

2009-02-12 Thread Travis Hassloch
Travis Hassloch tra...@giganews.com added the comment: Here is a patch which adds a member called is_finished to decompression objects that allows client code to know when it has reached the end of the compressed stream. -- keywords: +patch Added file: http://bugs.python.org/file13056

[issue5209] nntplib needs updating to RFC 3977

2009-02-10 Thread Travis Hassloch
New submission from Travis Hassloch tra...@giganews.com: RFC 977 has been obsoleted by RFC 3977 Numerous new commands, standardized extensions, clarifications. -- components: Library (Lib) messages: 81587 nosy: travis severity: normal status: open title: nntplib needs updating to RFC

[issue5210] zlib does not indicate end of compressed stream properly

2009-02-10 Thread Travis Hassloch
New submission from Travis Hassloch tra...@giganews.com: Underlying zlib can determine when it has hit the end of a compressed stream without reading past the end. Python zlib implementation requires that one read past the end before it signals the end by putting data in Decompress.unused_data

[issue5209] nntplib needs updating to RFC 3977

2009-02-10 Thread Travis Hassloch
Travis Hassloch tra...@giganews.com added the comment: Attached is a difference which implements CAPABILITIES and MODE READER and leaves some TODO comments for other RFC 3977 commands. -- keywords: +patch Added file: http://bugs.python.org/file13020/nntplib.diff