This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Mark.Shannon, gvanrossum, vstinner
Date 2021-06-03.01:51:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622685061.25.0.0760408902282.issue44297@roundup.psfhosted.org>
In-reply-to
Content
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)"
History
Date User Action Args
2021-06-03 01:51:01vstinnersetrecipients: + vstinner, gvanrossum, Mark.Shannon
2021-06-03 01:51:01vstinnersetmessageid: <1622685061.25.0.0760408902282.issue44297@roundup.psfhosted.org>
2021-06-03 01:51:01vstinnerlinkissue44297 messages
2021-06-03 01:51:00vstinnercreate