Mercurial > cpython-lru_cache-weakref
diff Python/getplatform.c @ 39468:57482176e101 legacy-trunk
cpathname could be NULL if it was longer than MAXPATHLEN. Don't try
to write the .pyc to NULL.
Check results of PyList_GetItem() and PyModule_GetDict() are not NULL.
Klocwork 282, 283, 285
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 13 Aug 2006 18:10:47 +0000 |
| parents | 6f6f965c5e2d |
| children |
