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 terry.reedy
Recipients ned.deily, terry.reedy, wordtech
Date 2017-11-25.07:28:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is the current code in idlelib.pyshell.main.

    # set application icon
    icondir = os.path.join(os.path.dirname(__file__), 'Icons')
    if system() == 'Windows':
        iconfile = os.path.join(icondir, 'idle.ico')
        ext = '.png' if TkVersion >= 8.6 else '.gif'
        iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext))
                     for size in (16, 32, 48)]
        icons = [PhotoImage(master=root, file=iconfile)
                 for iconfile in iconfiles]
        root.wm_iconphoto(True, *icons)

IDLE uses wm_iconbitmap on Windows and wm_iconphoto with PhotoImages from .gif or .png on everything else.  It appears that wm_iconphoto is already used on macOS with tk 8.5.

The uploaded PM.png looks like it might be idle16.png zoomed out at least 3x.  Anything that does that instead of using the much sharper 32 or 48 bit versions is, to me, buggy.  The bigger images stay much sharper even when zoomed.
Date User Action Args
2017-11-25 07:28:57terry.reedysetrecipients: + terry.reedy, wordtech, ned.deily
2017-11-25 07:28:57terry.reedysetmessageid: <>
2017-11-25 07:28:57terry.reedylinkissue32129 messages
2017-11-25 07:28:56terry.reedycreate