The cgi_server module is accessible via the paste.script module.
<open file '<stdout>', mode 'w' at 0xb7de5068>
See the source for more information.