diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-28 18:47:22 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-28 18:47:22 +0100 |
commit | ce5f4fba11262453f06ad431803a672be8a950dd (patch) | |
tree | 15734e899ef54c8c455c751769c28ce91f2cd154 /Python/pystate.c | |
parent | 1df788acd40675836a0f4c1fc127007c87f7bb6c (diff) | |
download | cpython-git-ce5f4fba11262453f06ad431803a672be8a950dd.tar.gz |
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().
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions