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 andrei.avk
Recipients Zeturic, andrei.avk, bob.ippolito, corona10
Date 2021-11-12.01:06:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636679183.6.0.576461468189.issue45054@roundup.psfhosted.org>
In-reply-to
Content
Another good option would be to use typed dict like `mydict : dict[int,str] = {}`; and use typed values when populating the dict; this way a type checker will warn you of inconsistent key types.
History
Date User Action Args
2021-11-12 01:06:23andrei.avksetrecipients: + andrei.avk, bob.ippolito, corona10, Zeturic
2021-11-12 01:06:23andrei.avksetmessageid: <1636679183.6.0.576461468189.issue45054@roundup.psfhosted.org>
2021-11-12 01:06:23andrei.avklinkissue45054 messages
2021-11-12 01:06:23andrei.avkcreate