New submission from Irit Katriel <iritkatr...@gmail.com>:

def format_frame(frame) should be renamed to 
format_frame_summary(frame_summary) because it takes a FrameSummary obejct and 
not a frame. 

This is a new API in 3.11 so it can be changed now.

There are also local variables in traceback.py which are called frame but 
actually represent FrameSummary. This can be confusing and should be fixed at 
the same time where it doesn't break API.

----------
messages: 400825
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: confusion between frame and frame_summary in traceback module

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45075>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to