Add sys.monitoring from Python 3.12 (#10890)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Pavel Karateev
2023-10-16 14:50:06 +02:00
committed by GitHub
parent bb27e6cd36
commit 838dd3a5ba
4 changed files with 58 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ os.PathLike.__class_getitem__ # PathLike is a protocol; we don't expect all Pat
types.GenericAlias.__call__ # Would be complicated to fix properly, Any could silence problems. #6392
types.GenericAlias.__getattr__
types.GenericAlias.__mro_entries__
sys._monitoring # Doesn't really exist. See comments in the stub.
weakref.ProxyType.__reversed__ # Doesn't really exist
# C signature is broader than what is actually accepted