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 Arfrever
Recipients Arfrever, brett.cannon
Date 2015-03-30.01:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427680454.72.0.13356883084.issue23810@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2015-03-30 01:54:14Arfreversetrecipients: + Arfrever, brett.cannon
2015-03-30 01:54:14Arfreversetmessageid: <1427680454.72.0.13356883084.issue23810@psf.upfronthosting.co.za>
2015-03-30 01:54:14Arfreverlinkissue23810 messages
2015-03-30 01:54:14Arfrevercreate