python2.5からwsgirefというモジュールが標準で入ってるそうです。WSGIのリファレンス実装って意味かな?Rubyで言えばRackとWEBrickが標準で入ってるって感じでしょうか。
% vi wsgi.py
def application(environ, start_response):
  start_response('200 OK', [('Content-type', 'text/plain')])
  return 'Hello, WSGI!'
from wsgiref import simple_server
if __name__ == '__main__':
  server = simple_server.make_server('', 8080, application)
  server.serve_forever()
% python wsgi.py
ほう。
