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 rhettinger
Recipients bup, rhettinger
Date 2021-03-08.19:10:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615230618.4.0.490461310458.issue43436@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the report, but this isn't a bug.

Setting typed=True guarantees that types are treated as distinct entries.

Setting typed=False means that the implementation MAY ignore the type and only use equality, but it is not required to do so.   If it is convenient for the implementation, it may use type to save space.  Currently int and str are treated as distinct from other types that may be equal to them.

Likewise, the implementation is allowed to treat different argument patterns as distinct even if they are equal.  Currently, we treat pow(2, 5) as distinct from pow(base=2, exp=5) which is itself distinct from pow(exp=5, base=2).
History
Date User Action Args
2021-03-08 19:10:18rhettingersetrecipients: + rhettinger, bup
2021-03-08 19:10:18rhettingersetmessageid: <1615230618.4.0.490461310458.issue43436@roundup.psfhosted.org>
2021-03-08 19:10:18rhettingerlinkissue43436 messages
2021-03-08 19:10:18rhettingercreate