Kaydet (Commit) 62d4624e authored tarafından Guido van Rossum's avatar Guido van Rossum

Create code string with initial size of 1000 instead of 0.

üst b8824952
...@@ -162,7 +162,7 @@ com_init(c, filename) ...@@ -162,7 +162,7 @@ com_init(c, filename)
struct compiling *c; struct compiling *c;
char *filename; char *filename;
{ {
if ((c->c_code = newsizedstringobject((char *)NULL, 0)) == NULL) if ((c->c_code = newsizedstringobject((char *)NULL, 1000)) == NULL)
goto fail_3; goto fail_3;
if ((c->c_consts = newlistobject(0)) == NULL) if ((c->c_consts = newlistobject(0)) == NULL)
goto fail_2; goto fail_2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment