New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue44297> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com