Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

libpython3_15-1_0-x86-64-v3-3.15.2-2.1 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: libpython3_15-1_0-x86-64-v3 Distribution: openSUSE Tumbleweed
Version: 3.15.2 Vendor: openSUSE
Release: 2.1 Build date: Mon Nov 23 13:29:44 2026
Group: Unspecified Build host: reproducible
Size: 7730240 Source RPM: python315-core-3.15.2-2.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://www.python.org/
Summary: Python Interpreter shared library
Python is an interpreted, object-oriented programming language, and is
often compared to Tcl, Perl, Scheme, or Java.  You can find an overview
of Python in the documentation and tutorials included in the python-doc
(HTML) or python-doc-pdf (PDF) packages.

This package contains libpython3.2 shared library for embedding in
other applications.

Provides

Requires

License

Python-2.0

Changelog

* Mon Nov 23 2026 Matej Cepl <mcepl@cepl.eu>
  - CVE-2026-103995: validate http.client Content-Length and
    chunk-size (GH-150752) (bsc#1288328)
    CVE-2026-103995-http-client-content-length.patch
* Thu Nov 19 2026 Matej Cepl <mcepl@cepl.eu>
  - CVE-2026-116566: Reject null bytes in socket.getaddrinfo()
    host and port (GH-160899) (bsc#1289106)
    CVE-2026-116566-reject-null-bytes-getaddrinfo.patch
* Wed Oct 28 2026 Matej Cepl <mcepl@cepl.eu>
  - Update to 3.15.2:
    - Security
    - gh-160300: Fix http.cookiejar.DefaultCookiePolicy accepting
      and returning cookies with a negative Version attribute
      without checking their domain against the request host.
      Such cookies are now ignored.
    - CVE-2026-114583, gh-160097: tarfile.tar_filter() now
      rejects link members whose path resolves to the destination
      directory itself, as tarfile.data_filter() already did.
      (bsc#1288258)
    - CVE-2026-115557, gh-160040: ssl now rejects TLS certificate
      chains that contain any of a set of compromised eMudhra
      intermediate CA keys. This is an extraordinary measure and
      a last line of defense: removing trust is primarily the job
      of the platform root store, and the built-in denylist only
      blocks connections while that update has not yet reached
      the OS, a container image, or a bundled trust store in
      various Python packages. Entries are added to the denylist
      only under a very high threshold. The denylist matches on
      the public key (the SHA-256 digest of the RFC 5280
      SubjectPublicKeyInfo), so it also covers the cross-signed
      certificates that reuse one of the distrusted keys.
      (bsc#1287903, bsc#1287357)
    - Core and Builtins
    - gh-160491: Fix the location reported for invalid escape
      sequences in f-strings and t-strings. The SyntaxError now
      points at the literal part that contains the escape,
      instead of at the closing quote.
    - gh-160268: Fix a crash in tokenize when a mismatched
      closing bracket follows the opening brace of an f-string or
      t-string replacement field, as in f'{]a'. It now raises the
      same “unmatched” error as the parser.
    - gh-106045: Fix venv path discovery when the base executable
      resolves to a location outside the installation pointed to
      by the home key in pyvenv.cfg. The standard library is now
      found from home, and extension modules from the resolved
      executable’s installation, instead of falling back to the
      compiled-in prefix.
    - gh-160162: Fix a crash on 32-bit platforms when left
      shifting an int by a count close to sys.maxsize *
      sys.int_info.bits_per_digit. OverflowError is now raised,
      as for other too large counts.
    - gh-160179: Fix bytearray.__init__() leaving uninitialized
      memory in the object when it fails on a list or tuple
      containing an integer not in range(256). The object is now
      empty after the failed call.
    - gh-159739: Fix a possible crash when assigning metadata to
      classmethod or staticmethod objects.
    - gh-159739: Fix a race in list.__sizeof__() when a list is
      concurrently resized on a free-threaded build.
    - gh-159739: Fix a reference leak when the value of a type
      alias is evaluated recursively or concurrently.
    - gh-159739: Fix a crash in free-threaded builds when
      codecs.unregister() is called concurrently.
    - gh-159963: Fix a regression in Python 3.15.0 where threads
      importing submodules of packages for the first time could
      raise _DeadlockError or a spurious “partially initialized
      module” ImportError, or block one another, with no
      circular import involved. importlib.import_module() now
      returns the partially initialized module in a cross-thread
      circular import, as the import statement does, instead of
      raising _DeadlockError.
    - gh-159739: Fix reference leaks when free-threaded garbage
      collection aborts early because of an allocation error.
    - gh-159739: Prevent free-threaded builds from interning and
      immortalizing complex subclasses in code object constants.
    - gh-159739: Fix a reference leak in binary, ternary, and
      comparison operations on weak reference proxies when
      another operand is a dead proxy.
    - gh-159739: Fix a crash when constructing an error for
      invalid generic alias arguments.
    - gh-159739: Allow the garbage collector to break reference
      cycles involving property accessors or names.
    - gh-159739: Fix a crash in warnings.warn() when
      skip_file_prefixes is an empty tuple subclass. Propagate
      allocation errors when creating the fallback filename.
    - gh-159431: Fix an assertion failure, or an immortal object
      becoming mortal, on the free threaded build when an object
      passed to the internal delayed decref mechanism is immortal
      or becomes immortal before the delayed decref is processed
      by the garbage collector.
    - gh-159294: Fix a crash in a debug build when creating an
      ExceptionGroup or BaseExceptionGroup fails with
      MemoryError. Patch by Christian Aurich Zanettini Martins.
    - gh-159244: Fix a crash in dict and dict.update() in the
      free-threaded build when another thread concurrently
      mutates a list used as a key/value pair. Patch by Christian
      Aurich Zanettini Martins.
    - gh-159111: Update mimalloc version from 2.1.2 to 2.5.2.
      Patch by Donghee Na.
    - gh-154318: Fix a crash when hashing a deeply nested tuple
      or frozendict. A RecursionError is now raised instead of
      overflowing the C stack.
    - gh-151818: Fix a double-free crash in list.append() (the
      specialized CALL_LIST_APPEND instruction) when growing the
      list fails with MemoryError.
    - Library
    - gh-160549: Fix a crash when a
      compression.zstd.ZstdCompressor that uses worker threads
      and a ZstdDict is deallocated, or the interpreter exits,
      while data passed to compress() is still being compressed.
    - gh-160535: Fix a crash in compression.zstd when the garbage
      collector frees a ZstdCompressor that uses worker threads
      together with its ZstdDict before the compression of
      already submitted data has finished.
    - gh-160520: Fix asyncio SSL transports not applying
      ssl_shutdown_timeout when the peer has sent EOF but does
      not read the data still queued for it. Closing such a
      connection could wait indefinitely; it is now aborted with
      TimeoutError once the timeout expires.
    - gh-160326: Raise ValueError for a NaN timeout in
      threading.Condition.wait() and the blocking calls built on
      it, such as threading.Event.wait(),
      threading.Semaphore.acquire() and queue.Queue.get(),
      instead of returning at once or looping without ever timing
      out.
    - gh-159739: Fix crashes in profiling.tracing when a custom
      timer reinitializes the profiler or its result clears or
      disables the profiler during conversion or cleanup.
    - gh-159739: Fix crashes in xml.parsers.expat when a
      character data callback disables buffering or clears
      another handler during a flush, or when interning an
      attribute name changes ordered_attributes.
    - gh-160299: Fix symtable.Symbol.is_referenced() for local
      and nonlocal symbols in function scopes when their only
      uses are in inlined comprehensions.
    - gh-159739: Fix a crash when a ctypes structure subclass
      cannot be created due to an allocation failure.
    - gh-159739: Fix clearing a pickle.Unpickler memo so that the
      unpickler can be reused for independent records.
    - gh-160171: On the server side,
      ssl.SSLSocket.get_unverified_chain() now returns the
      client’s certificate when the session was resumed from a
      session ticket, instead of an empty list, and returns an
      empty list instead of raising AttributeError when the
      client sent no certificate.
    - gh-159739: Fix a possible crash in abc.ABCMeta instance
      checks when a subclass-checking callback changes the
      instance’s class.
    - gh-159739: Fix the truncate method on io.BytesIO when
      converting its size argument closes the stream or exports
      its buffer.
    - gh-159739: Fix contextvars.ContextVar returning a stale
      value after a reentrant finalizer changes it during
      reset().
    - gh-159739: Detect recursive _as_parameter_ chains for
      ctypes calls without argument types.
    - gh-159739: Fix a possible crash when a list of sqlite3
      parameters is modified concurrently on a free-threaded
      build.
    - gh-159739: Avoid a crash when a threading.local subclass
      finalizer accesses attributes after construction fails.
    - gh-159739: Avoid a crash when a queue.SimpleQueue subclass
      finalizer adds an item after construction fails.
    - gh-100609: str() of a zipfile.Path whose underlying zipfile
      has no filename, such as one constructed from an
      io.BytesIO, now renders that filename as :zipfile: instead
      of raising TypeError. The root of a zipfile is also no
      longer rendered with a trailing slash. Synchronized with
      zipp 3.23.1.
    - gh-159690: Fix logging.handlers.TimedRotatingFileHandler
      permanently stopping rollover after a rollover failed or
      its backup file already existed, for example at a DST
      change.
    - gh-159739: Avoid undefined behavior when struct.pack_into()
      copies a bytearray into overlapping output.
    - gh-159739: Fix allocation error handling in the fallback
      implementation of getaddrinfo().
    - gh-159739: Fix a double free if remote unwinder
      initialization runs out of memory.
    - gh-159739: Fix io.IOBase.readline() returning more bytes
      than requested when a stream supports peek() and returns
      short reads.
    - gh-159739: Fix multibyte encoders silently consuming a
      non-BMP character when looking up a two-character mapping.
    - gh-159739: Fix off-by-one output buffer checks in the
      fallback implementation of getnameinfo().
    - gh-159739: Fix reference cycles involving the types of
      grapheme iterators and segments created by
      unicodedata.iter_graphemes().
    - gh-159706: Fix the pure-Python zoneinfo.ZoneInfo setting
      fold=0 in fromutc() for times in the fold created by the
      only transition of a zone with a single transition.
    - gh-159714: Fix zoneinfo.ZoneInfo interpreting the Julian
      day rule J59 as February 29 in leap years instead of
      February 28.
    - gh-159304: Fix AttributeError in
      email.message.EmailMessage.get_body() when a nested
      multipart part is malformed and its payload is a string.
    - gh-158287: Fix a bug in asyncio where stopping a child
      process (such as with SIGSTOP) on macOS caused the event
      loop to block indefinitely.
    - gh-130698: Fix PyREPL to convert sys.ps1 and sys.ps2 to
      strings before use, and fall back to the default prompts if
      the conversion raises.
    - gh-158126: Speed up pickle.dumps() and creating a
      pickle.Pickler by avoiding the creation of an
      AttributeError when looking up the optional
      reducer_override and dispatch_table attributes.
    - gh-157880: Fix mailbox.Babyl to write the visible headers
      of a mailbox.BabylMessage to the mailbox file.
    - gh-156784: asyncio.ProactorEventLoop no longer silently
      ignores ConnectionResetError on UDP sockets, matching
      asyncio.SelectorEventLoop.
    - gh-156078: zipfile.ZipFile.mkdir() now raises ValueError
      when the archive is closed or when a writable member handle
      is open.
    - gh-155833: Ensure that MD5 and SHA* objects are properly
      GC-untracked before freeing their internal HACL* state.
      Patch by Bénédikt Tran.
    - gh-155428: Ensure that hmac.digest() and hmac.HMAC.digest()
      output identical values when using a digest’s block size
      smaller than 16. Patch by Bénédikt Tran.
    - gh-155152: Improve performance of some zipimport archives
      that use Zstandard compression.
    - gh-153679: zipimport.zipimporter now raises
      zipimport.ZipImportError instead of UnicodeDecodeError for
      a UTF-8-flagged file name that is not valid UTF-8. Patch by
      tonghuaroot.
    - gh-153319: The turtledemo viewer now reads each demo script
      as UTF-8 instead of the locale encoding.
    - gh-127636: Fix tarfile.TarFile.extract() to accept archive
      member names with a trailing forward slash, including those
      returned by tarfile.TarFile.getnames(). Contributed by Xiao
      Yuan.
    - gh-149527: multiprocessing: fix creation of temporary
      socket files following gh-137335 (PR#148578 and
      corresponding backports). Patch by Bénédikt Tran.
    - gh-146169: xml.parsers.expat: raise RuntimeError when an
      Expat handler calls parser.Parse or parser.ParseFile on the
      parser that called the handler. Patch by Bénédikt Tran.
    - gh-140036: Avoid hanging in floor division of pure Python
      decimal.Decimal instances when the context precision is
      very large. Patch by Bénédikt Tran.
    - Build
    - gh-128883: Fix crashes with -X perf and -X perf_jit in BOLT
      builds. The ELF perf trampoline templates now use read-only
      data sections.
    - gh-160004: Fix the paths in the PEP 739 build-details.json
      file generated by Tools/build/generate-build-details.py
      with both --relative-paths and --config-file-path.
      Previously, every path except base_prefix was wrong and
      depended on the directory the script was run from.
    - gh-159998: Fix libpython.dynamic in the PEP 739
      build-details.json file for macOS and iOS framework builds.
      It now points at the framework’s library instead of a
      nonexistent path under lib/.
    - gh-144942: Fix the macOS shared library and framework
      builds not linking the libraries required by built-in
      modules, such as the HACL* objects needed by _blake2 when
      it is built in via Modules/Setup.local.
    - gh-159819: Fix the shell version of python3-config (used on
      all POSIX platforms except macOS) when the installation
      prefix contains spaces or other characters special to the
      shell or sed: it printed an empty --prefix and wrong
    - -includes/--ldflags paths while exiting successfully. The
      script now also exits with status 1 if it cannot determine
      its installation prefix.
    - gh-157354: Fix the --with-name-sanitizer=no and
    - -without-name-sanitizer configure options enabling the
      sanitizer instead of disabling it.
    - gh-155813: On macOS, LIBFFI_CFLAGS and LIBFFI_LIBS are no
      longer ignored when the SDK provides libffi, so ctypes can
      again be built against a different libffi. Patch by Advit
      Arora.
    - C API
    - gh-159739: Avoid a crash if a context watcher is cleared
      while other context watchers are being notified.
  - Update to 3.15.1:
    - Security
    - gh-159894: Bump the version of pip bundled in ensurepip to
      version 26.2.2.
    - gh-159428: mimetypes no longer reads the files listed in
      mimetypes.knownfiles by default on Windows, and uses only
      the registry.
    - gh-157953: Update bundled libexpat to version 2.9.0.
    - Core and Builtins
    - gh-159739: Avoid a crash if allocation fails while creating
      a string.templatelib.Template iterator.
    - gh-159739: Propagate errors during generic class
      construction and avoid a crash after failed generic alias
      substitution.
    - gh-159739: Raise OverflowError when the absolute value of a
      dynamic printf-style formatting width is too large.
    - gh-159739: Fix a reference leak in gc.get_objects() and
      gc.get_referrers() when an internal allocation fails in the
      free-threaded build.
    - gh-159739: Fix memory leaks during interpreter startup when
      a path configuration file is empty or too large, or when an
      audit hook rejects a command.
    - gh-159739: Avoid a crash when an interpreter configuration
      string cannot be encoded as UTF-8.
    - gh-159739: Preserve the original SyntaxError if allocating
      optional error metadata fails.
    - gh-159739: Avoid a crash if formatting an integer with the
      c presentation type runs out of memory.
    - gh-159739: Avoid a crash when a module filename cannot be
      encoded as UTF-8.
    - gh-159603: On FreeBSD, call pthread_attr_get_np() to get
      the stack size (and guard size) of the current thread.
      Patch by Victor Stinner.
    - gh-130279: Fix bug where compiler did not set the right
      exception handler for some jump instructions.
    - gh-159430: Report the correct exception if looking up
      __bytes__() raises an exception while performing
      %-formatting of bytes.
    - gh-159320: Add dynamic detection of stack sizes on Android,
      allowing safer deep recursion.
    - gh-159288: Fix a crash when walking a very long chain of
      lazy import placeholders, as created by an aliased dotted
      import such as lazy import a.b.c as d. RecursionError is
      now raised instead.
    - gh-159285: Fix a crash in a debug build when copying an
      empty dict fails with MemoryError. Patch by Christian
      Aurich Zanettini Martins.
    - gh-159041: Fix a use-after-free in asyncio task bookkeeping
      when a finalizer creates a task during thread shutdown.
    - gh-158973: Reset the warnings lock in the child after
      os.fork(), before clearing other threads’ states, to
      avoid deadlocks when their finalizers issue warnings.
      Preserve the lock’s recursion depth if the forking thread
      owns it.
    - gh-158918: Reduce C stack usage of
      _PyModule_IsPossiblyShadowing, which could potentially
      cause stack overflows during module attribute access while
      deeply recursing in agressively optimized builds.
    - gh-158803: Fix a crash in bytes.join() and bytearray.join()
      in the free-threaded build when another thread concurrently
      mutates the list being joined. Patch by Christian Aurich
      Zanettini Martins.
    - gh-158824: Fix module-level __getattr__() being called
      before a module’s own lazy imports were resolved, which
      allowed it to shadow them.
    - gh-158820: Fix a crash when a lazy import is declared or
      resolved by a finalizer running during interpreter
      shutdown.
    - gh-158592: Skip the array reallocation when shrinking a
      small list. Patch by Donghee Na.
    - gh-158583: bytes.fromhex() and bytearray.fromhex(): Fix
      uninitialized memory read. Patch by Victor Stinner.
    - gh-158197: Fix crashes and debug-build assertion failures
      in the free-threaded build when iterating over a split
      dictionary while another thread deletes entries or clears
      it. Publish insertion-order updates atomically so readers
      cannot observe an increased size before the corresponding
      order entry is initialized.
    - gh-158592: del list[index] now triggers shrinking the
      list’s internal array.
    - gh-158486: Fix the PowerSort mask calculation in
      list.sort() for very large lists.
    - gh-158121: Fix missing sys.monitoring INSTRUCTION events
      when a LINE callback returns sys.monitoring.DISABLE.
    - gh-158219: Fix bytearray constructor: do not use a bytes
      object if its hash value is already computed. Patch by Cody
      Maloney and Victor Stinner.
    - gh-158072: Fix a JIT crash when a class is instantiated
      with their default arguments
    - gh-157468: Fix the JIT optimizer folding a builtin name to
      a constant taken from the interpreter’s builtins
      dictionary even when the running function uses a different
      __builtins__ mapping, such as one created with
      vars(builtins).copy(). The optimizer now only folds when
      the function’s builtins is the interpreter’s, and the
      folded constant is guarded at runtime so that another
      function sharing the same code object but a different
      builtins mapping does not use it.
    - gh-157242: If bytearray.resize() or bytearray.take_bytes()
      fails, leave the bytearray unchanged, instead of clearing
      it. Patch by Victor Stinner.
    - gh-156091: Fix a crash when compiling deeply nested inlined
      list, set, or dict comprehensions. A SyntaxError is now
      raised when the nesting exceeds the compiler’s static
      block limit.
    - gh-106045: Fix standard library discovery in virtual
      environments created from a Python executable symlink
      located outside its base installation.
    - gh-156459: Fix cleanup on error in compiler_set_qualname.
      Previously it was called in _PyCompile_EnterScope, after
      the scope had been entered, and this was not reversed in
      case of an error.
    - gh-156371: Fix missing PyRefTracer