You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a WSGI middleware component for using [http://projects.amor.org/misc/wiki/PyConquer pyconquer] with any CherryPy app. It's a great way to find threading problems, as well as profile call times. PyConquer was built to resolve some concurrency issues while I was writing {{{test_states.py}}}, and really helped me untangle the interaction between request threads, the main thread, and (the old CP 2) autoreload.
{{{
#!python
class WSGILogger(object):
"""A WSGI middleware app which wraps 'nextapp' with pyconquer."""