From: Serhiy Storchaka Date: Thu, 20 Apr 2017 18:19:31 +0000 (+0300) Subject: bpo-29802: Fix reference counting in module-level struct functions (#1213) X-Git-Tag: v3.7.0a1~931 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40db90c1ce1a59d5f5f2894bb0ce32110000bf27;p=thirdparty%2FPython%2Fcpython.git bpo-29802: Fix reference counting in module-level struct functions (#1213) when pass arguments of wrong type. --- diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 932ef4737852..02d50b2d1c37 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -599,6 +599,16 @@ class StructTest(unittest.TestCase): 'offset -11 out of range for 10-byte buffer'): struct.pack_into('