| commit | ce5f4fba11262453f06ad431803a672be8a950dd | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <victor.stinner@gmail.com> | Mon Oct 28 18:47:22 2013 +0100 |
| committer | Victor Stinner <victor.stinner@gmail.com> | Mon Oct 28 18:47:22 2013 +0100 |
| tree | 15734e899ef54c8c455c751769c28ce91f2cd154 | |
| parent | 1df788acd40675836a0f4c1fc127007c87f7bb6c [diff] |
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().