homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dino.viehland, vstinner
Date 2019年09月16日.08:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568621237.26.0.771434290679.issue38176@roundup.psfhosted.org>
In-reply-to
Content
commit 09dc2c672f937cbe53300cb680fca1f9c78ff976
Author: Dino Viehland <dinoviehland@gmail.com>
Date: Sun Sep 15 15:51:44 2019 +0100
 Fix missing dec ref (#16158)
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c
index 8b0a0244bf..1ea2bf28ab 100644
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -572,6 +572,7 @@ static int
 _random_clear(PyObject *module)
 {
 Py_CLEAR(_randomstate(module)->Random_Type);
+ Py_CLEAR(_randomstate(module)->Long___abs__);
 return 0;
 }
History
Date User Action Args
2019年09月16日 08:07:17vstinnersetrecipients: + vstinner, dino.viehland
2019年09月16日 08:07:17vstinnersetmessageid: <1568621237.26.0.771434290679.issue38176@roundup.psfhosted.org>
2019年09月16日 08:07:17vstinnerlinkissue38176 messages
2019年09月16日 08:07:17vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /