Don't mix deprecations messages with warnings messages (#21337)

* Remove unused attribute '_passthrough'

* Don't mix deprecations with warnings

* Return values: add 'deprecations' key used internally

* 'deprecations' and 'warnings' return values: add tests
This commit is contained in:
Pilou
2017-02-14 05:49:39 +01:00
committed by Brian Coca
parent d54bc09fae
commit f2c22109fb
3 changed files with 81 additions and 3 deletions

View File

@@ -84,6 +84,10 @@ warnings
````````
This key contains a list of strings that will be presented to the user.
deprecations
````````````
This key contains a list of dictionaries that will be presented to the user. Keys of the dictionaries are `msg` and `version`, values are string, value for the `version` key can be an empty string.
.. seealso::
:doc:`modules`