This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ThatXliner
Recipients ThatXliner
Date 2020-10-12.15:41:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602517265.37.0.00250446603223.issue42017@roundup.psfhosted.org>
In-reply-to
Content
Because there is a typing.AnyStr (which is equal to AnyStr = TypeVar("AnyStr", str, bytes)), I think there should be a AnyNum which is equivalent to

from decimal import Decimal
from fractions import Fraction
AnyNum = TypeVar("AnyNum", int, float, complex, Decimal, Fraction)
History
Date User Action Args
2020-10-12 15:41:05ThatXlinersetrecipients: + ThatXliner
2020-10-12 15:41:05ThatXlinersetmessageid: <1602517265.37.0.00250446603223.issue42017@roundup.psfhosted.org>
2020-10-12 15:41:05ThatXlinerlinkissue42017 messages
2020-10-12 15:41:05ThatXlinercreate