[issue33252] Clarify ResourceWarning documentation

2018-04-11 Thread Nick Coghlan

Nick Coghlan  added the comment:

+1 from me for further ResourceWarning docs improvements - my focus when 
working on PEP 565 was the actual change in how DeprecationWarning was being 
handled, and the other warnings doc improvements were just a necessary 
prerequisite for being able to convey that clearly.

The backport to 3.6 may or may not be worthwhile, depending on how much work it 
proves to be in practice (while those will still be the default online docs for 
the next couple of months, the 3.7 branch will take their place once 3.7.0 is 
officially released).

We wouldn't backport docs changes to 3.4 or 3.5, as both of those branches are 
already in security-fix-only mode.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33252] Clarify ResourceWarning documentation

2018-04-10 Thread Ned Deily

Change by Ned Deily :


--
nosy: +ncoghlan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33252] Clarify ResourceWarning documentation

2018-04-09 Thread Ed Morley

New submission from Ed Morley :

The `ResourceWarning` warning has always been ignored by default, since it was 
added in Python 3.2 in:
https://github.com/python/cpython/commit/08be72d0aa0112118b79d271479598c218adfd23#diff-db4e2b9efea108a38c53e06fa99cdd77R391

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:
https://github.com/python/cpython/commit/9b99747386b690007027c3be2a5d7cfe3d3634f5

...however:
(a) there is still at least one place that still needs updating on master 
(https://docs.python.org/3.8/library/warnings.html#warning-categories)
(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 
reference.

--
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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com