- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | martin.panter |
|---|---|
| Recipients | acue, martin.panter, pitrou, python-dev, serhiy.storchaka, vstinner |
| Date | 2018-07-22.08:30:39 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1532248240.14.0.56676864532.issue33154@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Can’t you use Python’s existing CLI <https://docs.python.org/3.6/using/cmdline.html#cmdoption-w> and environment variable <https://docs.python.org/3.6/using/cmdline.html#envvar-PYTHONWARNINGS> to control the ResourceWarning messages? Warnings where enabled by default when using the “unittest” module in Issue 10535. There is probably a way to disable them, at least by using the “warnings” module directly. But I think ResourceWarning should stay enabled by default when running tests. As you said, the warnings help testing for bugs. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-07-22 08:30:40 | martin.panter | set | recipients: + martin.panter, pitrou, vstinner, python-dev, serhiy.storchaka, acue |
| 2018-07-22 08:30:40 | martin.panter | set | messageid: <1532248240.14.0.56676864532.issue33154@psf.upfronthosting.co.za> |
| 2018-07-22 08:30:40 | martin.panter | link | issue33154 messages |
| 2018-07-22 08:30:39 | martin.panter | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
