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 | fe2feb2def06b6ee8e2818f1818a2b2743d917b1 (patch) | |
tree | 8feabe14845aece2025a3055e26d219d748d7411 /Python/pythonrun.c | |
parent | 03b9c293da396efd6df7fb0d980db0faa8bb4b49 (diff) | |
download | cpython-fe2feb2def06b6ee8e2818f1818a2b2743d917b1.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions