From e9fed99471ba110429f0c6372d7d81a31dac4648 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 6 May 2025 11:54:24 +0800 Subject: [PATCH] Update pkpy.c --- src/modules/pkpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pkpy.c b/src/modules/pkpy.c index 8b68dafe..66999c99 100644 --- a/src/modules/pkpy.c +++ b/src/modules/pkpy.c @@ -67,7 +67,7 @@ static bool pkpy_is_user_defined_type(int argc, py_Ref argv) { static bool pkpy_enable_full_buffering_mode(int argc, py_Ref argv) { PY_CHECK_ARGC(0); - static char buf[1024 * 1024 * 1]; + static char buf[1024 * 128]; setvbuf(stdout, buf, _IOFBF, sizeof(buf)); py_newnone(py_retval()); return true;