| Store | Cart

Re: [Python-Dev] cpython: Minor refactoring. Move reference count logic into function that adds entry.

From: Serhiy Storchaka <stor...@gmail.com>
Sun, 28 Jun 2015 10:52:38 +0300
On 28.06.15 08:03, raymond.hettinger wrote:
> https://hg.python.org/cpython/rev/637e197be547> changeset:   96697:637e197be547> user:        Raymond Hettinger <pyt...@rcn.com>> date:        Sat Jun 27 22:03:35 2015 -0700> summary:>    Minor refactoring.  Move reference count logic into function that adds entry.

This looks not correct. key should be increfed before calling 
PyObject_RichCompareBool() for the same reason as startkey.


_______________________________________________
Python-Dev mailing list
Pyth...@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.com

Recent Messages in this Thread
Serhiy Storchaka Jun 28, 2015 07:52 am