[issue3774] tkinter Menu.delete bug

2008-09-04 Thread skomoroh
New submission from skomoroh <[EMAIL PROTECTED]>: When I create a menu item without command and them remove it, I have a error: File "/usr/local/lib/python3.0/tkinter/__init__.py", line 2661, in delete if c in self._tclCommands: TypeError: argument of type 'None

[issue3800] Fix for formatter.py

2008-09-07 Thread skomoroh
New submission from skomoroh <[EMAIL PROTECTED]>: Code: import formatter w = formatter.DumbWriter() f = formatter.AbstractFormatter(w) f.push_margin('dd') f.pop_margin() Result: Traceback (most recent call last): File "formatter_test.py", line 7, in f.push_margi

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread skomoroh
skomoroh <[EMAIL PROTECTED]> added the comment: Seems I found the bug. I've attached the patch for current py3k-trunk. Added file: http://bugs.python.org/file11477/menu_fix.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.