[New-bugs-announce] [issue44297] Frame with -1 line number

STINNER Victor report at bugs.python.org
Wed Jun 2 21:51:01 EDT 2021


New submission from STINNER Victor <vstinner at python.org>:

While debugging https://bugs.python.org/issue43921 on Windows, I got a traceback with a single frame and the frame line number is -1.

It looks like a Python 3.11 regression.

Mark, Guido: can it be related to recent optimization work done in the main branch?

See also bpo-44288 "unittest: _is_relevant_tb_level() fails because tb.tb_frame.f_globals=None".

======================================================================
FAIL: test_pha_required_nocert (test.test_ssl.TestPostHandshakeAuth)
----------------------------------------------------------------------
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2522)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\vstinner\python\main\lib\test\test_ssl.py", line -1, in test_pha_required_nocert
AssertionError: "certificate required" does not match "EOF occurred in violation of protocol (_ssl.c:2522)"

----------
components: Interpreter Core
messages: 394969
nosy: Mark.Shannon, gvanrossum, vstinner
priority: normal
severity: normal
status: open
title: Frame with -1 line number
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44297>
_______________________________________


More information about the New-bugs-announce mailing list