[issue24992] collections.OrderedDict constructor (odict_new) doesn't handle PyDict_New() failure

STINNER Victor report at bugs.python.org
Thu Sep 3 21:16:50 CEST 2015


STINNER Victor added the comment:

Yury wrote:
> Is this something that we should ship in 3.5.0rc3?

I don't think so. I agree with Serhiy who wrote:
> It looks to me as an ordinal bug and that is encountered only in special circumstances with small probability. I think it can wait for 3.5.1.

It looks like the bug can only occurs in case of very low memory (an empty dict takes 1 KB or less) which is a rare use case.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24992>
_______________________________________


More information about the Python-bugs-list mailing list