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().
V
Victor Stinner committed
ce5f4fba11262453f06ad431803a672be8a950dd
Parent: 1df788a