diff Python/compile.c @ 160:afa48a96a444 legacy-trunk

Create code string with initial size of 1000 instead of 0.
author Guido van Rossum <guido@python.org>
date Wed, 03 Apr 1991 19:00:23 +0000
parents 853b736a6a9e
children 229168a2fe28
line wrap: on
line diff
--- a/Python/compile.c	Wed Apr 03 18:59:50 1991 +0000
+++ b/Python/compile.c	Wed Apr 03 19:00:23 1991 +0000
@@ -162,7 +162,7 @@
 	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;