-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed as not planned
Closed as not planned
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Somewhat of a corner-case, but something like this
import typing
class Foo:
@typing.overload
def foo(): ...
print(foo.__qualname__)
prints _overload_dummy
which, yeah OK I think I'm the real dummy here, but also did it need to call me that 😝 ?
(In all seriousness I'm just doing weird things, and hit this and even though I'm doing weird things, Python never stopped me before)
CPython versions tested on:
3.11
Operating systems tested on:
macOS
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error