Hi Marc,
I think you are not understanding what mod_wsgi is.
"The aim of mod_wsgi is to implement a simple to use Apache module which can host any Python application which supports the Python WSGIinterface. The module would be suitable for use in hosting high performance production web sites, as well as your average self managed personal sites running on web hosting services."
mod_wsgi provides a mechanism to connect apache with python, so that python can form a response to a web request. However, the interface is very basic. Python is expected to return the (usually html) data directly.
Any templating type systems would happen at a level above mod_wsgi. Take a look at some of the python web frameworks out there (bottle, flask, django, etc...) to see what they have to offer.
Under mod_python, the PSP handler is what was responsible for the syntax you were referencing. In the same way, if such a thing exists to be run under WSGI, it would be a separate project (and be able to run on any compliant wsgi server).
I am not personally aware of such a thing. Personally, I accomplish a similar feat using python code directly: Given that HS() is a function which encodes HTML entities, and QA() is an xmlish quote attribute function, and UE() is a url encode function:
html = '''
<div>
<h1>Hi, this is an example</h1>
<h2>Record List</h2>
''' + ''.join('''
<div class="record">
First Name: ''' + HS(row.FirstName) + '''<br />
Last Name: ''' + HS(row.LastName) + '''<br />
<a href=''' + QA('/user/details?id=' + UE(row.ID)) + '''>Details</a>
</div>
''' for row in GetList()) + '''
</div>
'''
I've used PHP and ASP.Net razr, and this isn't that much different. It requires you to think a little harder sometimes, but it is very possible to get the same effect using python syntax directly embedded in a view function.
JG