[issue615772] Tkinter.Misc has no __contains__ method

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I'm closing this; YAGNI. However, I've added an explicit __contains__ method which raises a nice error message in r63501. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed Trac

[issue615772] Tkinter.Misc has no __contains__ method

2008-05-19 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- type: -> feature request Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mail

[issue615772] Tkinter.Misc has no __contains__ method

2008-05-19 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Can you tell me why anyone would do `option in widget` ? I don't see the benefit of making tkinter widgets more "dict-like". Do you have some good use cases ? -- nosy: +gpolo Tracker <[EMAIL PROTE