[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7972ed2111ea2f01e8712eef91bcf2260e05ad8b by Serhiy Storchaka in branch '3.6': [3.6] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (GH-3485). (#3494)

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 004547f97067be2e23ae770f300c0c0d1db1ba27 by Serhiy Storchaka in branch '2.7': [2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (GH-3485). (#3493)

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +3487 ___ Python tracker ___

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +3486 ___ Python tracker ___

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 252033d50effa08046ac34fcc406bc99796ab88b by Serhiy Storchaka (Oren Milman) in branch 'master': bpo-31411: Prevent raising a SystemError in case warnings.onceregistry is not a dictionary. (#3485)

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-10 Thread Oren Milman
Changes by Oren Milman : -- keywords: +patch pull_requests: +3475 stage: -> patch review ___ Python tracker ___

[issue31411] SystemError raised by warn_explicit() in case warnings.onceregistry is not a dict

2017-09-10 Thread Oren Milman
New submission from Oren Milman: The following code causes warn_explicit() (in Python/_warnings.c) to raise a SystemError: import warnings warnings.filterwarnings('once') warnings.onceregistry = None warnings.warn_explicit(message='foo', category=Warning, filename='bar',