Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
morshu9001
14 days ago
|
parent
|
context
|
favorite
| on:
A “frozen” dictionary for Python
I'm not saying the problem with tuple doesn't exist, but that there doesn't need to be a built-in way to deal with it. If for some unfortunate reason you've got a mixed-type set that you also want to use as a dict key, you can write a helper.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: