> > How do you then supply a traceback to the raise statement? > > raise ValueError, ValueError("blah"), tb > > Maybe in Py3K this could become > > raise ValueError("bloop"), tb The instantiation and bindings need to be done in one step without mixing two syntaxes. Treat this case the same as everything else: raise ValueError("blip", traceback=tb) Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4