[New-bugs-announce] [issue44761] NewType __module__ name

Yurii Karabas report at bugs.python.org
Wed Jul 28 06:06:10 EDT 2021


New submission from Yurii Karabas <1998uriyyo at gmail.com>:

This issue related to https://bugs.python.org/issue44353

By default `__module__` attribute of a `NewType` is set to "typing" but in other typing classes it set to "__main__".

----------
components: Library (Lib)
messages: 398365
nosy: kj, uriyyo
priority: normal
severity: normal
status: open
title: NewType __module__ name
type: behavior
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44761>
_______________________________________


More information about the New-bugs-announce mailing list