News for hackers. Stuff that matters.
Re:“Python's batteries are leaking” by jzoch on Saturday May 18, 2019 @02:56PM (#19949080)
You mean a map? It's in the standard library.
Re:“Python's batteries are leaking” by new4thaccount on Saturday May 18, 2019 @03:50PM (#19949375)
Yep. Map/Hash/Dictionary.

I didn't know it was included in stdlib (I really thought it wasn't) and feel idiotic now. It is still odd (having a primarily scripting background and not coming from the systems side) that I have to include what seems to be essentially an import statement at the top. I guess it is a lot more efficient that way though. Thanks for pointing out my error!