[issue12458] Tracebacks should contain the first line of continuation lines
New submission from Petr Splichal : Currently, python tracebacks shows the last of continuation lines when a function spans across multiple lines. This line usually contains some function parameter only and thus is not very useful for debugging the problem. For example: Traceback (most recent call last): File "./tcms-run", line 48, in summary=options.summary) File "/tmp/nitrate/Nitrate.py", line 600, in __init__ raise NitrateError("Need either id or test plan") If the traceback contained the beginning of the continuation line it would be IMHO much more clear where/how the problem happened. Traceback (most recent call last): File "./tcms-run", line 48, in run = TestRun(plan=plan, distro=options.distro, File "/tmp/nitrate/Nitrate.py", line 600, in __init__ raise NitrateError("Need either id or test plan") Version: Both Python 2 and Python 3. Trivial reproducer: def fun1(par): raise Exception def fun2(): fun1( par="value") fun2() Actual results: Traceback (most recent call last): File "/tmp/traceback.py", line 10, in fun2() File "/tmp/traceback.py", line 8, in fun2 par="value") File "/tmp/traceback.py", line 4, in fun1 raise Exception Exception -- components: Interpreter Core messages: 139544 nosy: psss priority: normal severity: normal status: open title: Tracebacks should contain the first line of continuation lines type: behavior versions: Python 2.6, Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue12458> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue967161] pty.spawn() enhancements
Petr Splichal <[EMAIL PROTECTED]> added the comment: Is there any plan to modify pty.spawn() so that it reports child's status? I think this would be really a very useful feature. Thanx! -- nosy: +psss Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue967161> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5753] CVE-2008-5983 python: untrusted python modules search path
Changes by Petr Splichal : -- nosy: +psss ___ Python tracker <http://bugs.python.org/issue5753> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2588] PyOS_vsnprintf() underflow leads to memory corruption
Petr Splichal added the comment: Justin, is there any reproducer available for this issue? Thanks! -- nosy: +psss ___ Python tracker <http://bugs.python.org/issue2588> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2587] PyString_FromStringAndSize() to be considered unsafe
Petr Splichal added the comment: Justin, is there any reproducer available for this issue? Thanks! -- nosy: +psss ___ Python tracker <http://bugs.python.org/issue2587> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2489] Patch for bugs in pty.py
Changes by Petr Splichal : -- nosy: +psss ___ Python tracker <http://bugs.python.org/issue2489> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com