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 Frank Pae
Recipients Frank Pae, louielu, serhiy.storchaka, terry.reedy
Date 2017-04-29.07:30:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493451003.41.0.895621677061.issue30200@psf.upfronthosting.co.za>
In-reply-to
Content
it works in py 2.7 and 3.5 normal

there must be a change in 3.6, intended or unintentional

this is my Workaround:

def get_size(event):
    # self.size.set(listbox_size.get(listbox_size.curselection()))
    # ____TEST____ >
    ok=True
    try:
        lb_siz_cur = listbox_size.curselection()
        lb_siz_get =  listbox_size.get(lb_siz_cur)
    except:
        ok=False
    if ok:
        self.size.set(lb_siz_get)

        print('<<ListboxSelect>>',
              'def get_size:  listbox_size.curselection()= ',
              lb_siz_cur,'listbox_size.get()= ',lb_siz_get)
    return


you need the workaround also for get_style and get_font
History
Date User Action Args
2017-04-29 07:30:03Frank Paesetrecipients: + Frank Pae, terry.reedy, serhiy.storchaka, louielu
2017-04-29 07:30:03Frank Paesetmessageid: <1493451003.41.0.895621677061.issue30200@psf.upfronthosting.co.za>
2017-04-29 07:30:03Frank Paelinkissue30200 messages
2017-04-29 07:30:03Frank Paecreate