[PATCH] rust-cpython: add sanity check to PySharedState::decrease_leak_count()

Pulkit Goyal 7895pulkit at gmail.com
Mon Sep 16 13:13:13 EDT 2019


On Sun, Sep 15, 2019 at 7:33 PM Yuya Nishihara <yuya at tcha.org> wrote:
>
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1568555012 -32400
> #      Sun Sep 15 22:43:32 2019 +0900
> # Node ID 071b35e3f7cde53cbf411a536091153741dc4a37
> # Parent  34ed651ba7e4a4b7f0ee79c5a5442b5eed27bbad
> rust-cpython: add sanity check to PySharedState::decrease_leak_count()
>
> If decrease_leak_count() were called unnecessarily, there must be a serious
> bug. It's better to not silently ignore such cases.

Queued this, many thanks. Thanks to Raphaƫl for having a look.


More information about the Mercurial-devel mailing list