61 Commits (3cd30c2ceeaeabe0486a2467fd11cdc008bf6f67)

Author SHA1 Message Date
Florent Xicluna 758fa5ea81 Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError. 13 years ago
Georg Brandl 9e091e120b Closes #16657: fix docstring of traceback.format_tb(). 13 years ago
Andrew Kuchling 173a157e72 #1565525: Add traceback.clear_frames() helper function to clear locals ref'd by a traceback 13 years ago
Benjamin Peterson d9fec15e9b refactor traceback.py to reduce code duplication (closes #17646) 13 years ago
Andrew Svetlov 4bb142b1b7 Issue #16714: use 'raise' exceptions, don't 'throw'. 14 years ago
Philip Jenvey 4993cc0a5b utilize yield from 14 years ago
Benjamin Peterson d5a1c44455 PEP 415: Implement suppression of __context__ display with an exception attribute 14 years ago
Nick Coghlan ab7bf2143e Close issue #6210: Implement PEP 409 14 years ago
Victor Stinner 7c8eaad1bf Merged revisions 80777 via svnmerge from 16 years ago
Victor Stinner 926fd4ee32 Issue #8313: traceback.format_exception_only() encodes unicode message to 16 years ago
Antoine Pitrou bcc63a86a9 Merged revisions 76573 via svnmerge from 17 years ago
Antoine Pitrou 7b0d4a238f Issue #4486: When an exception has an explicit cause, do not print its implicit context too. 17 years ago
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from 17 years ago
Georg Brandl b044b2a701 Merged revisions 74821,74828-74831,74833,74835 via svnmerge from 17 years ago
Georg Brandl 2ad07c301e Small PEP8 correction. 17 years ago
Georg Brandl 3cfdd9c1d5 Merged revisions 73186,73206,73212 via svnmerge from 17 years ago
Georg Brandl eb56aa169a #3584: ignore trailing newlines when placing the caret for a SyntaxError location. 17 years ago
Hirokazu Yamamoto 32b18cc2cf Rolled back revisions 71237 via svnmerge from 17 years ago
Georg Brandl e9b912164b Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-71238,71240-71241,71243,71249,71251 via svnmerge from 17 years ago
Georg Brandl 236f7979ba Merged revisions 71237-71238 via svnmerge from 17 years ago
Georg Brandl dc4a77159b #1326077: fix traceback formatting of SyntaxErrors. This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space. 17 years ago
Benjamin Peterson e549ead826 Merged revisions 70554,70588-70589,70598,70605,70611-70621,70623-70624,70626-70627 via svnmerge from 17 years ago
Benjamin Peterson 797eaf305a complain when there's no last exception 17 years ago
Benjamin Peterson 3e6c335ae0 revert r70552; wrong fix 17 years ago
Benjamin Peterson 85e1478ca4 fix very old names for exception terms #5543 17 years ago
Neal Norwitz d153afea66 Remove unnecessary import 18 years ago
Hirokazu Yamamoto 54a1cc68a1 Issue #3812: Failed to build python if configure --without-threads. 18 years ago
Brett Cannon 5400b6b2e2 Fix a DeprecationWarning about __getitem__() and exceptions in the 'traceback' module. 18 years ago
Benjamin Peterson e65282114e implement chained exception tracebacks 18 years ago
Georg Brandl c73728373c Remove function obsolete since Python 2.3 from traceback module. 18 years ago
Georg Brandl 1a3284ed69 #1535: rename __builtin__ module to builtins. 19 years ago
Guido van Rossum 33d2689fc9 Merged revisions 56492-56752 via svnmerge from 19 years ago
Brett Cannon ba7bf49a54 Remove the ability to slice/index on exceptions per PEP 352. 20 years ago
Neal Norwitz 2633c69fae Remove the exceptions builtin module, all the exceptions are already builtin. 20 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 20 years ago
Georg Brandl edd81b2402 Fix a bug in traceback.format_exception_only() that led to an error 20 years ago
Georg Brandl c7986cee76 Fix a bug in traceback.format_exception_only() that led to an error 20 years ago
Guido van Rossum 6a2a2a0832 Inspired by SF patch #860326, make the exception formatting by 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Georg Brandl 16183631ed Better fix for bug #1531405, not executing str(value) twice. 20 years ago
Neal Norwitz ff4b63b80f Bug #1531405, format_exception no longer raises an exception if 20 years ago
Tim Peters 0bbfd83250 Whitespace normalization. 20 years ago
Georg Brandl afb44f47d9 Repair accidental NameError. 20 years ago
Georg Brandl c13c34c39d Patch #1515343: Fix printing of deprecated string exceptions with a 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Guido van Rossum 8f6cbe1502 Fix the formatting of KeyboardInterrupt -- a bad issubclass() call. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Anthony Baxter 57fdcbc60f reverting r45321: Patch #860326: traceback.format_exception_only() now 20 years ago
Georg Brandl 24c274f5dc Patch #860326: traceback.format_exception_only() now prepends the 20 years ago
Phillip J. Eby 4703211080 Updated the warnings, linecache, inspect, traceback, site, and doctest modules 20 years ago