mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-92128: Add __class_getitem__
to logging.LoggerAdapter
and logging.StreamHandler
(#92129)
Closes #92128
This commit is contained in:
parent
031397063e
commit
ab616d323d
3 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,7 @@ from contextvars import ContextVar, Token
|
|||
from dataclasses import Field
|
||||
from functools import partial, partialmethod, cached_property
|
||||
from graphlib import TopologicalSorter
|
||||
from logging import LoggerAdapter, StreamHandler
|
||||
from mailbox import Mailbox, _PartialFile
|
||||
try:
|
||||
import ctypes
|
||||
|
@ -113,6 +114,7 @@ class BaseTest(unittest.TestCase):
|
|||
MappingProxyType, AsyncGeneratorType,
|
||||
DirEntry,
|
||||
chain,
|
||||
LoggerAdapter, StreamHandler,
|
||||
TemporaryDirectory, SpooledTemporaryFile,
|
||||
Queue, SimpleQueue,
|
||||
_AssertRaisesContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue