comparison tests/test-storage.py @ 40455:88702fd208ce

py3: convert revlog stats to a dict of (bytes, int) pairs Py_DECREF(t) is replaced with Py_CLEAR(t) so that t is set to NULL once decrefed. Otherwise, it would be excessively decrefed if a subsequent PyBytes_FromString() failed.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 24 Oct 2018 21:28:03 +0900
parents c3ad9ef0876c
children 1bf3e6041e2c
comparison
equal deleted inserted replaced
40443:909c31805f54 40455:88702fd208ce