A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2017-September/149148.html below:

[Python-Dev] [RFC] Removing pure Python implementation of OrderedDict

[Python-Dev] [RFC] Removing pure Python implementation of OrderedDict [Python-Dev] [RFC] Removing pure Python implementation of OrderedDictSerhiy Storchaka storchaka at gmail.com
Tue Sep 5 07:48:32 EDT 2017
05.09.17 11:38, INADA Naoki пише:
> ## Cons
> 
> * All Python 3.7 implementations should provide _collections.OrderedDict
>    PyPy has it already.  But I don't know about micropython.

Current C implementation of OrderedDict is not safe regarding using 
mutating dict methods (or dict C API) like dict.__setitem__ or 
PyDict_SetItem. Using them can cause hangs or segfaults. See issue24726 
and issue25410. I hope your implementation will solve these issues, but 
there may be others. While the C implementation still is not enough 
mature, we should allow users that encountered one of such issues to use 
pure Python implementation which is free from hangs and segfaults.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4