Anonymous avatar Anonymous committed 071d338

Revert 2.312; turns out interning the file name did do some good (reducing
.pyc size) after all.

Comments (0)

Files changed (1)

 		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,
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.