Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 86702:1bbedfb20932
Issue #19421: fix a check in warnings.warn() to be able to use it during Python
finalization.
sys.argv is set to None during Python finalization: add PyList_Check() to avoid
a crash in PyList_Size().
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Mon, 28 Oct 2013 18:47:22 +0100 |
| parents | 3055e61f1e66 |
| children | 3f9f2cfae53b |
