Tags: fedora-python/cpython
Tags
00486: pythongh-148646: Add --enable-prebuilt-jit-stencils configure … …flag
00477: Raise an error when importing stdlib modules compiled for a di… …fferent Python version This is a downstream workaround "implementing" python#137212 - the mechanism for the check exists in Python 3.15+, where it needs to be added to the standard library modules. In Fedora, we need it also in previous Python versions, as we experience segmentation fault when importing stdlib modules after update while Python is running. _curses, _tkinter, _tracemalloc and readline are not calling PyModuleDef_Init, which is modified with this patch, hence they need a direct call to the check function. Co-Authored-By: Karolina Surma <ksurma@redhat.com>
00486: pythongh-148646: Add --enable-prebuilt-jit-stencils configure … …flag
00491: pythongh-149776: Skip UDP Lite tests if it's not supported Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite tests if it's not supported. (cherry picked from commit 3cfc249) (cherry picked from commit 49d0867)
00486: pythongh-148646: Add --enable-prebuilt-jit-stencils configure … …flag
00490: CVE-2026-15308 pythongh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (pythonGH-153031) (pythonGH-153039) When an unterminated construct (e.g. a tag or comment) spanned many feed() calls, rescanning the growing buffer and concatenating new data onto it were both quadratic. New data is now accumulated in a list and only joined and parsed once enough has piled up. (cherry picked from commit bcf98dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
00489: Use BIO_eof to detect EOF for SSL_FILETYPE_ASN1 In PEM, we need to parse until error and then suppress `PEM_R_NO_START_LINE`, because PEM allows arbitrary leading and trailing data. DER, however, does not. Parsing until error and suppressing `ASN1_R_HEADER_TOO_LONG` doesn't quite work because that error also covers some cases that should be rejected. Instead, check `BIO_eof` early and stop the loop that way. This fixes python#151504 and adds compatibility with OpenSSL 3.5.7+ (cherry-picked from commit acfe02f)
00489: Use BIO_eof to detect EOF for SSL_FILETYPE_ASN1 In PEM, we need to parse until error and then suppress `PEM_R_NO_START_LINE`, because PEM allows arbitrary leading and trailing data. DER, however, does not. Parsing until error and suppressing `ASN1_R_HEADER_TOO_LONG` doesn't quite work because that error also covers some cases that should be rejected. Instead, check `BIO_eof` early and stop the loop that way. This fixes python#151504 and adds compatibility with OpenSSL 3.5.7+ (cherry-picked from commit acfe02f)
00489: Use BIO_eof to detect EOF for SSL_FILETYPE_ASN1 In PEM, we need to parse until error and then suppress `PEM_R_NO_START_LINE`, because PEM allows arbitrary leading and trailing data. DER, however, does not. Parsing until error and suppressing `ASN1_R_HEADER_TOO_LONG` doesn't quite work because that error also covers some cases that should be rejected. Instead, check `BIO_eof` early and stop the loop that way. This fixes python#151504 and adds compatibility with OpenSSL 3.5.7+ (cherry-picked from commit acfe02f)
00486: pythongh-148646: Add --enable-prebuilt-jit-stencils configure … …flag
PreviousNext