Paul McGuire <pt...@austin.rr.com> writes: > is completely forward and backward incompatible. The workaround is to > rewrite as: > > except ExceptionType: > ex = sys.exc_info()[0] > > which works just fine in 2.x and 3.x.
Are you sure? I wonder if there might be some race condition that could make it fail. I didn't even know about (or forgot) this change. Yucch. -- http://mail.python.org/mailman/listinfo/python-list