[Python-Dev] [RFC] Removing pure Python implementation of OrderedDict
INADA Naoki
songofacandy at gmail.com
Tue Sep 5 09:05:54 EDT 2017
On Tue, Sep 5, 2017 at 9:58 PM, Simon Cross
<hodgestar+pythondev at gmail.com> wrote:
> I thought the decision a few years ago was that all modules that have a C
> library for performance reasons should also have a Python version? Did this
> decision change at some point? (just curious).
But in this case, not only for optimize, but also better behavior.
Pure Python version is not thread safe even for `od[k] = v`.
It's very difficult to write thread safe complex container in Pure Python.
Regards,
INADA Naoki <songofacandy at gmail.com>
More information about the Python-Dev
mailing list