From 53d4877071b52c962a1a72ca59ffb4f97972f30d Mon Sep 17 00:00:00 2001 From: Max Muoto Date: Sat, 14 Sep 2024 00:39:34 -0500 Subject: [PATCH] Move `__replace__` issues out of triage (#12656) --- stdlib/@tests/stubtest_allowlists/py313.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/py313.txt b/stdlib/@tests/stubtest_allowlists/py313.txt index a3265d0fa..b3bb5a823 100644 --- a/stdlib/@tests/stubtest_allowlists/py313.txt +++ b/stdlib/@tests/stubtest_allowlists/py313.txt @@ -15,9 +15,6 @@ importlib.resources.path importlib.resources.read_binary importlib.resources.read_text os.path.splitroot -# `__replace__` to be special cased in dataclasses -pstats.FunctionProfile.__replace__ -pstats.StatsProfile.__replace__ tkinter.Misc.after_info tkinter.Misc.busy tkinter.Misc.busy_cget @@ -191,3 +188,7 @@ codecs.xmlcharrefreplace_errors # To match `dict`, we lie about the runtime, but use overloads to match the correct behavior types.MappingProxyType.get + +# `__replace__` is dynamically generated, and special-cased by type-checkers +pstats.FunctionProfile.__replace__ +pstats.StatsProfile.__replace__