Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 67347:3bf4d9f1660a
Issue #9566: use Py_ssize_t instead of int
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 04 Jan 2011 12:59:15 +0000 |
| parents | b7be652daf6e |
| children | aba16a5683d3 |
line wrap: on
line diff
--- a/Python/pythonrun.c Tue Jan 04 11:16:49 2011 +0000 +++ b/Python/pythonrun.c Tue Jan 04 12:59:15 2011 +0000 @@ -1202,7 +1202,8 @@ { PyObject *m, *d, *v; const char *ext; - int set_file_name = 0, ret, len; + int set_file_name = 0, ret; + size_t len; m = PyImport_AddModule("__main__"); if (m == NULL)
