This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients charris44, ned.deily, pitrou, serhiy.storchaka, vstinner
Date 2016-12-07.20:50:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It works in usual circumstances.

>>> import warnings
>>> with warnings.catch_warnings(record=True) as w:
...     warnings.simplefilter('always')
...     warnings.warn('a test warning', DeprecationWarning)
...     print(w)
[<warnings.WarningMessage object at 0xb6f1714c>]
Date User Action Args
2016-12-07 20:50:20serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, ned.deily, charris44
2016-12-07 20:50:20serhiy.storchakasetmessageid: <>
2016-12-07 20:50:20serhiy.storchakalinkissue28897 messages
2016-12-07 20:50:20serhiy.storchakacreate