Commit e51c4f9a authored by Michael W. Hudson's avatar Michael W. Hudson

Revert 2.312; turns out interning the file name did do some good (reducing

.pyc size) after all.
parent eb477d04
......@@ -4731,7 +4731,7 @@ jcompile(node *n, const char *filename, struct compiling *base,
cellvars = dict_keys_inorder(sc.c_cellvars, 0);
freevars = dict_keys_inorder(sc.c_freevars,
PyTuple_GET_SIZE(cellvars));
filename = PyString_FromString(sc.c_filename);
filename = PyString_InternFromString(sc.c_filename);
name = PyString_InternFromString(sc.c_name);
if (!PyErr_Occurred())
co = PyCode_New(sc.c_argcount,
......
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