Message239554
https://hg.python.org/cpython/rev/2a336cc29282 changed stacklevel of some deprecation warnings.
However new value is still not useful, because either _frozen_importlib or importlib/_bootstrap.py is now mentioned in deprecation warnings:
$ cat test.py
import formatter
import imp
$ python3.4 -Wd test.py
/usr/lib64/python3.4/formatter.py:24: PendingDeprecationWarning: the formatter module is deprecated and will be removed in Python 3.6
'Python 3.6', PendingDeprecationWarning)
/usr/lib64/python3.4/imp.py:32: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
PendingDeprecationWarning)
$ python3.5 -Wd test.py
_frozen_importlib:321: DeprecationWarning: the formatter module is deprecated and will be removed in Python 3.6
/usr/lib64/python3.5/importlib/_bootstrap.py:321: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
return f(*args, **kwds) |
|
Date |
User |
Action |
Args |
2015-03-30 01:54:14 | Arfrever | set | recipients:
+ Arfrever, brett.cannon |
2015-03-30 01:54:14 | Arfrever | set | messageid: <1427680454.72.0.13356883084.issue23810@psf.upfronthosting.co.za> |
2015-03-30 01:54:14 | Arfrever | link | issue23810 messages |
2015-03-30 01:54:14 | Arfrever | create | |
|