[Python-ideas] PEP: Dict addition and subtraction

Brandt Bucher brandtbucher at gmail.com
Thu Mar 21 18:10:48 EDT 2019


For anyone interested in "trying it out": if you're not against cloning and
compiling CPython yourself, here is a PEP 584 C implementation I have PR'd
against master right now. I'm keeping it in sync with the draft PEP as it
changes, so subtraction performance is not overly optimized yet, but it
will show you the *exact* behavior outlined in the PEP on the dict builtin
and its subclasses. The relevant branch is called "addiction". You can
clone it from:

https://github.com/brandtbucher/cpython.git

:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190321/82c72126/attachment-0001.html>


More information about the Python-ideas mailing list