From: Guido van Rossum Date: Wed, 3 Apr 1991 19:00:23 +0000 (+0000) Subject: Create code string with initial size of 1000 instead of 0. X-Git-Tag: v0.9.8~1023 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62d4624ea39b25a1b76d354486a52ef653a4aec0;p=thirdparty%2FPython%2Fcpython.git Create code string with initial size of 1000 instead of 0. --- diff --git a/Python/compile.c b/Python/compile.c index 1c3f2facb2fc..b61658e35042 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -162,7 +162,7 @@ com_init(c, filename) struct compiling *c; char *filename; { - if ((c->c_code = newsizedstringobject((char *)NULL, 0)) == NULL) + if ((c->c_code = newsizedstringobject((char *)NULL, 1000)) == NULL) goto fail_3; if ((c->c_consts = newlistobject(0)) == NULL) goto fail_2;