]> granicus.if.org Git - python/commit
This fixes several bug reports concering memory bloating during large
authorBarry Warsaw <barry@python.org>
Mon, 6 Nov 2000 18:46:09 +0000 (18:46 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 6 Nov 2000 18:46:09 +0000 (18:46 +0000)
commit7fed217515d060b065119f74eea3a024dfb00210
treeb012a2e0efbac15c19a7f17aaf99960164c7b6ae
parent4ebf3be40703b1b6171a001a5155b5e1a9f971be
This fixes several bug reports concering memory bloating during large
file uploads.

In response to SF bugs 110674 and 119806, and discussions on
python-dev, we are removing the self.lines attribute from the
FieldStorage class.  Specifically touched where methods __init__(),
read_lines_to_eof(), and skip_lines().

No one can remember why self.lines was added.  Technically, it's part
of the public interface for the class, but it was never documented.
It's possible clever or nosy code will break because of this, but it
was decided to remove it and see who complains.

This resolution also closes the second half of the cgi.py entry in PEP
42.  The first half of that PEP concerns specifically binary file
uploads, where there may be no end-of-line marker for a very long
time.  This patch does not address that issue.
Lib/cgi.py