Pranjal Prajapati 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f27af8ba8e 
								
							 
						 
						
							
							
								
								gh-130425: Add "Did you mean [...]" suggestions for del obj.attr (GH-136588)  
							
							... 
							
							
							
							Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com> 
							
						 
						
							2025-08-22 12:21:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								539a4ca1b9 
								
							 
						 
						
							
							
								
								gh-137967: Restore suggestions on nested attribute access ( #137968 )  
							
							
							
						 
						
							2025-08-21 16:56:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4e08a9f97a 
								
							 
						 
						
							
							
								
								gh-137078: Fix keyword typo recognition when executed over files ( #137079 )  
							
							
							
						 
						
							2025-08-15 15:14:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MonadChains 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								18a7f5dad8 
								
							 
						 
						
							
							
								
								gh-127598: Improve ModuleNotFoundError when -S is passed (GH-136821)  
							
							
							
						 
						
							2025-07-20 15:33:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Łukasz Langa 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								055827528f 
								
							 
						 
						
							
							
								
								gh-130999: Fix globals() poisoning in test_traceback (gh-135030)  
							
							
							
						 
						
							2025-06-02 16:57:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									devdanzin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								baccfdb3d4 
								
							 
						 
						
							
							
								
								gh-130999: Avoid exiting the new REPL when there are non-string candidates for suggestions (gh-131001)  
							
							
							
						 
						
							2025-06-02 13:04:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Łukasz Langa 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f610bbdf74 
								
							 
						 
						
							
							
								
								gh-133346: Make theming support in _colorize extensible (GH-133347)  
							
							... 
							
							
							
							Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 
							
						 
						
							2025-05-05 23:45:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								641253cfac 
								
							 
						 
						
							
							
								
								gh-132385: Fix instance error suggestions trigger potential exceptions in traceback ( #132387 )  
							
							
							
						 
						
							2025-05-02 15:52:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Duprat 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								69cda31261 
								
							 
						 
						
							
							
								
								gh-132308: prevent TracebackException swallowing attributes of a falsey Exception or ExceptionGroup ( #132363 )  
							
							
							
						 
						
							2025-04-19 09:49:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									mpage 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								053c285f6b 
								
							 
						 
						
							
							
								
								gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} ( #130708 )  
							
							... 
							
							
							
							Optimize `LOAD_FAST` opcodes into faster versions that load borrowed references onto the operand stack when we can prove that the lifetime of the local outlives the lifetime of the temporary that is loaded onto the stack. 
							
						 
						
							2025-04-01 10:18:42 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Bierma 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								511d3440a0 
								
							 
						 
						
							
							
								
								gh-131936: Strengthen check in _suggestions._generate_suggestions ( #131945 )  
							
							
							
						 
						
							2025-03-31 19:30:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9ef9d687ff 
								
							 
						 
						
							
							
								
								gh-131712: Build _suggestions extension on Windows ( #131759 )  
							
							... 
							
							
							
							Add a test checking that the '_suggestions' extension is available. 
							
						 
						
							2025-03-27 09:53:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								048ee2d5ec 
								
							 
						 
						
							
							
								
								gh-130250: use support.swap_attr() in test and don't assume we're beginning with a clean system state ( #130342 )  
							
							
							
						 
						
							2025-02-20 11:29:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c718c6be0f 
								
							 
						 
						
							
							
								
								gh-130250: fix cleanup in test (impacts refleaks runs) ( #130329 )  
							
							
							
						 
						
							2025-02-20 01:37:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6c982aeb54 
								
							 
						 
						
							
							
								
								gh-130250: fix regression in traceback.print_last ( #130318 )  
							
							
							
						 
						
							2025-02-19 21:44:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ammar Askar 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f9a7d41bac 
								
							 
						 
						
							
							
								
								gh-96092: Fix traceback.walk_stack(None) skipping too many frames ( #129330 )  
							
							... 
							
							
							
							As it says in its documentation, walk_stack was meant to just
follow `f.f_back` like other functions in the traceback module.
Instead it was previously doing `f.f_back.f_back` and then this
changed to `f_back.f_back.f_back.f_back' in Python 3.11 breaking
its behavior for external users.
This happened because the walk_stack function never really had
any good direct tests and its only consumer in the traceback module was
`extract_stack` which passed the result into `StackSummary.extract`.
As a generator, it was previously capturing the state of the stack
when it was first iterated over, rather than the stack when `walk_stack`
was called. Meaning when called inside the two method deep
`extract` and `extract_stack` calls, two `f_back`s were needed.
When 3.11 modified the sequence of calls in `extract`, two more
`f_back`s were needed to make the tests happy.
This changes the generator to capture the stack when `walk_stack` is
called, rather than when it is first iterated over. Since this is
technically a breaking change in behavior, there is a versionchanged
to the documentation. In practice, this is unlikely to break anyone,
you would have been needing to store the result of `walk_stack` and
expecting it to change. 
							
						 
						
							2025-02-13 01:43:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c39ae8922b 
								
							 
						 
						
							
							
								
								gh-128799: Add frame of except* to traceback when wrapping a naked exception ( #128971 )  
							
							
							
						 
						
							2025-01-25 13:00:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a16ded10ad 
								
							 
						 
						
							
							
								
								gh-128894: Fix TracebackException._format_syntax_error on custom SyntaxError metadata ( #128946 )  
							
							
							
						 
						
							2025-01-22 12:47:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c463270c73 
								
							 
						 
						
							
							
								
								gh-71339: Use new assertion methods in test_traceback (GH-128848)  
							
							
							
						 
						
							2025-01-20 11:22:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hugo van Kemenade 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								afb9dc887c 
								
							 
						 
						
							
							
								
								gh-128595: Add test class helper to force no terminal colour ( #128687 )  
							
							... 
							
							
							
							Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 
							
						 
						
							2025-01-13 11:05:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								43634fc1fc 
								
							 
						 
						
							
							
								
								gh-127146: Emscripten: Skip segfaults in test suite ( #127151 )  
							
							... 
							
							
							
							Added skips for tests known to cause problems when running on Emscripten. 
These mostly relate to the limited stack depth on Emscripten. 
							
						 
						
							2024-12-05 08:26:25 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tomas R. 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8ba9f5bca9 
								
							 
						 
						
							
							
								
								gh-127347: Document traceback.print_list ( #127348 )  
							
							... 
							
							
							
							Previously, `traceback.print_list` didn't have a documentation entry and was not exposed in `traceback.__all__`. Now it has a documentation entry and is exposed in `__all__`. 
							
						 
						
							2024-12-03 18:08:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Bogdan Romanyuk 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								51b012b2a8 
								
							 
						 
						
							
							
								
								gh-125593: Use colors to highlight error locations in tracebacks from exception group ( #125681 )  
							
							
							
						 
						
							2024-10-27 01:57:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								55c4f4c30b 
								
							 
						 
						
							
							
								
								gh-125514: fix bug in test_traceback utility. Specify exception types in except: clauses ( #125516 )  
							
							
							
						 
						
							2024-10-15 15:11:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Bénédikt Tran 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5cd50cb6eb 
								
							 
						 
						
							
							
								
								gh-122145: Handle an empty AST body when reporting tracebacks ( #122161 )  
							
							
							
						 
						
							2024-09-18 18:42:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								48856ead6a 
								
							 
						 
						
							
							
								
								gh-123123: Fix display of syntax errors covering multiple lines ( #123131 )  
							
							... 
							
							
							
							Signed-off-by: Pablo Galindo <pablogsal@gmail.com> 
							
						 
						
							2024-08-19 15:09:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Zijlstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9b8611eeea 
								
							 
						 
						
							
							
								
								gh-119180: PEP 649 compiler changes ( #119361 )  
							
							
							
						 
						
							2024-06-11 13:06:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a3e4fec873 
								
							 
						 
						
							
							
								
								gh-118893: Evaluate all statements in the new REPL separately ( #119318 )  
							
							... 
							
							
							
							Co-authored-by: Łukasz Langa <lukasz@langa.pl> 
							
						 
						
							2024-05-21 23:16:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0085c3ae8f 
								
							 
						 
						
							
							
								
								gh-116871: Improve name suggestions in tracebacks (GH-116930)  
							
							... 
							
							
							
							Only include underscored names in name suggestions for AttributeError and
ImportError if the original name was underscored. 
							
						 
						
							2024-05-06 15:53:15 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f27f8c790a 
								
							 
						 
						
							
							
								
								gh-111201: A new Python REPL (GH-111567)  
							
							... 
							
							
							
							Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 
							
						 
						
							2024-05-05 21:32:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hugo van Kemenade 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3b3f8dea57 
								
							 
						 
						
							
							
								
								gh-117225: Move colorize functionality to own internal module ( #118283 )  
							
							
							
						 
						
							2024-05-01 12:27:06 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4a08a75cf4 
								
							 
						 
						
							
							
								
								gh-99180: Remove traceback anchors in return and assign statements that cover all the displayed range ( #112670 )  
							
							
							
						 
						
							2024-05-01 14:42:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b43c7e1070 
								
							 
						 
						
							
							
								
								gh-112730: Respect tests that require environment variables with no-colorize fixes ( #118288 )  
							
							
							
						 
						
							2024-04-26 21:23:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								345e1e04ec 
								
							 
						 
						
							
							
								
								gh-112730: Make the test suite resilient to color-activation environment variables ( #117672 )  
							
							
							
						 
						
							2024-04-24 21:25:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cc573c70b7 
								
							 
						 
						
							
							
								
								gh-115282: Fix direct invocation of test_traceback.py ( #115283 )  
							
							
							
						 
						
							2024-02-11 19:07:08 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jérome Perrin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								04fabe22dd 
								
							 
						 
						
							
							
								
								gh-113358: Fix rendering tracebacks with exceptions with a broken __getattr__ (GH-113359)  
							
							... 
							
							
							
							Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 
							
						 
						
							2024-01-16 09:49:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								16448cab44 
								
							 
						 
						
							
							
								
								gh-112730: Use color to highlight error locations (gh-112732)  
							
							... 
							
							
							
							Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl> 
							
						 
						
							2023-12-06 23:29:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									William Wen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								939fc6d6ea 
								
							 
						 
						
							
							
								
								gh-106922: Support multi-line error locations in traceback (attempt 2) ( #112097 )  
							
							
							
						 
						
							2023-12-01 22:18:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2c68011780 
								
							 
						 
						
							
							
								
								gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. ( #112333 )  
							
							
							
						 
						
							2023-11-28 08:03:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								aa732459c5 
								
							 
						 
						
							
							
								
								gh-111388: Add show_group parameter to traceback.format_exception_only ( #111390 )  
							
							
							
						 
						
							2023-10-27 11:11:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Batuhan Taskaya 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								78e6d72e38 
								
							 
						 
						
							
							
								
								bpo-43950: handle wide unicode characters in tracebacks ( #28150 )  
							
							
							
						 
						
							2023-10-26 07:05:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								90a1b2859f 
								
							 
						 
						
							
							
								
								gh-67224: Show source lines in tracebacks when using the -c option when running Python ( #111200 )  
							
							
							
						 
						
							2023-10-26 15:17:28 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b3c9faf056 
								
							 
						 
						
							
							
								
								gh-110912: Correctly display tracebacks for MemoryError exceptions using the traceback module ( #110921 )  
							
							
							
						 
						
							2023-10-16 15:39:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e7331365b4 
								
							 
						 
						
							
							
								
								gh-110721: Use the traceback module for PyErr_Display() and fallback to the C implementation ( #110702 )  
							
							
							
						 
						
							2023-10-12 14:52:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ecd21a629a 
								
							 
						 
						
							
							
								
								gh-109179: Fix traceback display for SyntaxErrors with notes ( #109197 )  
							
							
							
						 
						
							2023-09-11 19:18:34 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo Salgado 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6275c67ea6 
								
							 
						 
						
							
							
								
								gh-106922: Fix error location for constructs with spaces and parentheses ( #108959 )  
							
							
							
						 
						
							2023-09-08 17:18:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f3ba0a74cd 
								
							 
						 
						
							
							
								
								gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421)  
							
							... 
							
							
							
							Only mark tests which spend significant system or user time,
by itself or in subprocesses. 
							
						 
						
							2023-09-02 07:45:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7c89f11892 
								
							 
						 
						
							
							
								
								gh-106185: Deduplicate CPythonTracebackErrorCaretTests in test_traceback (GH-106187)  
							
							
							
						 
						
							2023-07-25 23:37:47 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f4d8e10d0d 
								
							 
						 
						
							
							
								
								gh-105292: Add option to make traceback.TracebackException.format_exception_only recurse into exception groups ( #105294 )  
							
							... 
							
							
							
							Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl> 
							
						 
						
							2023-06-06 11:26:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Carey Metcalfe 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								487f55d580 
								
							 
						 
						
							
							
								
								gh-103895: Improve how invalid Exception.__notes__ are displayed ( #103897 )  
							
							
							
						 
						
							2023-05-01 08:32:04 +01:00