Message184725
This is a patch that consolidates the implementation of traceback.format_tb and traceback.print_tb into one common internal function traceback._get_tb. The current implementations are almost identical, except that the print_tb() ones also prints to a file ...
Now, I don't really know what the Python developers feel about this kind of cleanups which doesn't really add any value for the end user. I've seen projects where this kind of patches are not accepted because of this. IMHO, making code more readable and reducing duplication is always a good thing. |
|
Date |
User |
Action |
Args |
2013-03-20 02:48:57 | raduv | set | recipients:
+ raduv |
2013-03-20 02:48:57 | raduv | set | messageid: <1363747737.23.0.181460448728.issue17491@psf.upfronthosting.co.za> |
2013-03-20 02:48:57 | raduv | link | issue17491 messages |
2013-03-20 02:48:56 | raduv | create | |
|