Author domdfcoding
Recipients domdfcoding, joperez
Date 2021-06-10.07:36:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623310605.7.0.884855622093.issue44353@roundup.psfhosted.org>
In-reply-to
Content
It is possible to implement NewType to return a class rather than a function as it does currently. However, the class version uses substantially more memory (1072 bytes vs 144 bytes with sys.getsizeof) and NewType is supposed to have almost no runtime overhead.
History
Date User Action Args
2021-06-10 07:36:45domdfcodingsetrecipients: + domdfcoding, joperez
2021-06-10 07:36:45domdfcodingsetmessageid: <1623310605.7.0.884855622093.issue44353@roundup.psfhosted.org>
2021-06-10 07:36:45domdfcodinglinkissue44353 messages
2021-06-10 07:36:45domdfcodingcreate