Skip to content

Let's Review the dict Module: Part II: Compact Dicts (The Modern Implementation)

Photo of Andrew Kelleher
Hosted By
Andrew K.
Let's Review the dict Module: Part II: Compact Dicts (The Modern Implementation)

Details

In our very first meetup (summarized by this blog post (https://www.buzzfeed.com/andrewkelleher/deep-exploration-into-python-lets-review-the-dict-module?utm_term=.bxRMp8Kj7#.gmBvm2o7V)) we covered the dict module. We got almost up to python 2.7's complete implementation. We skipped split dicts and the type specific implementations.

As most of you are probably aware; this past week Python released a new feature that made headlines on hackernews as well as a number of other boards in the community. The compact dict.

In the process of implementing this; the side effect was introduced that dictionaries are ordered by default... to an extent.

The OrderedDict no longer exists in collections, but there is an odict module brought into the C-level implementation of the interpreter.

We'll do a survey of these changes and have a look at the practical consequences. If you're interested in Python's bleeding edge you won't want to miss it!

As a little change of pace we'll probably have burritos instead of pizza to go with our drinks.

See you then!

Photo of Deep Dive into Python: Know Thy Interpreter group
Deep Dive into Python: Know Thy Interpreter
See more events
Buzzfeed
111 E 18th Street · New York, NY