Trac 0.11 supports Pygments, but does not disclose the pytb formatting type. Here's a bug fixed with Trac 0.11.3 to add support for Python traces.
diff -r 5a0c5e3255b4 mimeview/api.py --- a/mimeview/api.py Tue Aug 11 11:33:45 2009 +1000 +++ b/mimeview/api.py Mon Aug 24 15:13:34 2009 +1000 @@ -348,6 +348,7 @@ 'text/x-perl': ['pl', 'pm', 'PL', 'perl'], 'text/x-php': ['php', 'php3', 'php4'], 'text/x-python': ['py', 'python'], + 'text/x-python-traceback':['pytb'], 'text/x-pyrex': ['pyx'], 'text/x-ruby': ['rb', 'ruby'], 'text/x-scheme': ['scm'],
source share