This contains all global GLIBC-versioned symbols that Python links against.
- CPython Commit:
f802c8bf872ab882d3056675acc79c950fe5b93c
- GLIBC Version: 2.40
From 44479f1f9cb21c0eb517c0fd09e3fdc993b30d8c Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Filipe=20La=C3=ADns?= <[email protected]> | |
Date: Sat, 7 Dec 2024 21:03:31 +0000 | |
Subject: [PATCH] Bug 1935621 - Fix virtual environment sysconfig path | |
calculation | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
Signed-off-by: Filipe Laíns <[email protected]> |
This contains all global GLIBC-versioned symbols that Python links against.
f802c8bf872ab882d3056675acc79c950fe5b93c
class HelloDescriptor: | |
def __get__(self, obj, objtype=None): | |
return self.hello | |
class Foo(HelloDescriptor): | |
def hello(self): | |
return 42 | |
class Transform[T, SetterT=None]: | |
def __init__(self, fn: Callable[[SetterT], T] | None = None, *, default: T = typing.NoDefault) -> None: | |
self._fn = fn | |
self._default = default | |
self._values: dict[object, T] = {} | |
@functools.cached_property | |
def _type(self): | |
if not hasattr(self, '__orig_class__'): | |
raise TypeError('Use Transform[...](...) instead of Transform(...).') |