]> granicus.if.org Git - python/commit
SF patch #462628 (Travers Naran) NNTPLib supports saving BODY to a file.
authorGuido van Rossum <guido@python.org>
Mon, 1 Oct 2001 13:46:55 +0000 (13:46 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 1 Oct 2001 13:46:55 +0000 (13:46 +0000)
commitd1d584f4e820dc893175cdde74b901b6808ed3ab
tree95c5640828bf644513dfb57c332ae95dcb88cbf6
parentd016e45fdb21691def79d00b41e20bd64adbc85a
SF patch #462628 (Travers Naran) NNTPLib supports saving BODY to a file.

  I modified nntplib so the body method can accept an
  optional second parameter pointing to a filehandle or
  filename (string). This way, really long body
  articles can be stored to disk instead of kept in
  memory. The way I made the modification should make
  it easy to extend this functionality to other extended
  return methods.
Lib/nntplib.py