commit | 50b6778bda03096075b85af455a24750df6dc7e6 | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Thu Mar 22 16:35:37 2012 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Thu Mar 22 16:35:37 2012 +0000 |
tree | ef0b31e8a0bd8edd636f5627f27684e09ebc14ba | |
parent | 96cb5d15c15ca0d276402023660f74a8fba5cfbd [diff] [blame] |
Issue #10538. Put a reference to the source object in the Py_buffer when converting the old buffer for PyArgs_ParseTuple with *s
diff --git a/Python/getargs.c b/Python/getargs.c index eccdc9b..a6cebbc 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -1410,7 +1410,7 @@ *errmsg = "convertible to a buffer"; return count; } - PyBuffer_FillInfo(view, NULL, buf, count, 1, 0); + PyBuffer_FillInfo(view, arg, buf, count, 1, 0); return 0; }