New submission from Ed Morley <>:

The `ResourceWarning` warning has always been ignored by default, since it was 
added in Python 3.2 in:

However there are several places in the docs where the "ignored by default" 
aspect is not mentioned even though it is for `DeprecationWarning` and similar 
- which caused me quite a bit of confusion today.

The docs were partly improved in Python 3.7 onwards by:

(a) there is still at least one place that still needs updating on master 
(b) it would be good to backport the docs fixes to 3.4/3.5/3.6 (I was looking 
at the 3.6 docs today)

I'm happy to open PRs to fix this; but filing this issue so I have something to 

assignee: docs@python
components: Documentation
messages: 315153
nosy: docs@python, edmorley
priority: normal
severity: normal
status: open
title: Clarify ResourceWarning documentation
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

Python tracker <>
Python-bugs-list mailing list

Reply via email to