ANN: cgi-buffer 0.1

Skip Montanaro skip at mojam.com
Tue Jun 27 12:50:54 EDT 2000


Mark Nottingham wrote:

    cgi_buffer is a Python libary that may be used to improve performance of
    CGI scripts in some circumstances, by applying HTTP mechanisms that are
    typically not supported for them.

After taking a quick peek at the referenced web page for cgi-buffer, a
couple things came to mind:

    1. Python 1.6 will support HTTP/1.1.  Don't know if this will affect
       your library or not.

    2. Python 1.6 will have a new module, atexit, that adds a little smidgen
       of protocol on top of sys.exitfunc in the form of a register
       function, thus allowin multiple modules to register exit functions
       without stepping on each others' virtual toes.  If atexit gets loaded
       and sees that sys.exitfunc is already defined (and not its own exit
       func) it will simply add that function to the list of exit functions,
       so your code should work unchanged *if* it gets there before atexit
       does.

-- 
Skip Montanaro, skip at mojam.com, http://www.mojam.com/, http://www.musi-cal.com/
On Phil Jackson's ability to manage multiple Lakers superstars, Shaquille
O'Neal said: "He's got the rings.  I listen to the man with the rings."




More information about the Python-list mailing list