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 serhiy.storchaka
Recipients kbk, roger.serwy, serhiy.storchaka, terry.reedy
Date 2016-05-07.08:21:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462609285.33.0.857206458202.issue25747@psf.upfronthosting.co.za>
In-reply-to
Content
import_fresh_module() emits the deprecation warning twice.

>>> from test.support import import_fresh_module
>>> import_fresh_module('idlelib.idlever')
/home/serhiy/py/cpython-debug/Lib/test/support/__init__.py:166: DeprecationWarning: 
The separate Idle version was eliminated years ago;
idlelib.idlever is no longer used by Idle
and will be removed in 3.6 or later.  Use
    from sys import version
    IDLE_VERSION = version[:version.index(' ')]

  __import__(name)
/home/serhiy/py/cpython-debug/Lib/importlib/__init__.py:126: DeprecationWarning: 
The separate Idle version was eliminated years ago;
idlelib.idlever is no longer used by Idle
and will be removed in 3.6 or later.  Use
    from sys import version
    IDLE_VERSION = version[:version.index(' ')]

  return _bootstrap._gcd_import(name[level:], package, level)
<module 'idlelib.idlever' from '/home/serhiy/py/cpython-debug/Lib/idlelib/idlever.py'>
History
Date User Action Args
2016-05-07 08:21:25serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, kbk, roger.serwy
2016-05-07 08:21:25serhiy.storchakasetmessageid: <1462609285.33.0.857206458202.issue25747@psf.upfronthosting.co.za>
2016-05-07 08:21:25serhiy.storchakalinkissue25747 messages
2016-05-07 08:21:24serhiy.storchakacreate