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 Siyuan Ren
Recipients Siyuan Ren
Date 2018-03-20.13:10:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521551442.12.0.467229070634.issue33107@psf.upfronthosting.co.za>
In-reply-to
Content
Currently in module `typing` we have the following classes

* SupportsInt
* SupportsFloat
* SupportsComplex
* SupportsBytes
* SupportsRound

There is no reason that people only need these classes. They may need, say, `SupportsIndex` to denote all integer like types, `SupportsAdd` for arithmetic types, etc. It is best that the list of `SupportsXXX` are expanded to be as complete as possible, and even better, a mechanism for user specified `SupportsXXX` be provided.
History
Date User Action Args
2018-03-20 13:10:42Siyuan Rensetrecipients: + Siyuan Ren
2018-03-20 13:10:42Siyuan Rensetmessageid: <1521551442.12.0.467229070634.issue33107@psf.upfronthosting.co.za>
2018-03-20 13:10:42Siyuan Renlinkissue33107 messages
2018-03-20 13:10:41Siyuan Rencreate