• Barry Warsaw's avatar
    This fixes several bug reports concering memory bloating during large · 7fed2175
    Barry Warsaw yazdı
    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.
    7fed2175
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...