[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2dfe0ca6c21 by Andrew Svetlov in branch '3.2': Issue #14496: Fix wrong name in idlelib/tabbedpages.py. http://hg.python.org/cpython/rev/f2dfe0ca6c21 -- nosy: +python-dev ___ Python tracker

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Popa Claudiu
Popa Claudiu added the comment: Yes. 1. inherit from TabbedPageSet 2. pass tabs keyword to the internal TabSet instance 3. when the GUI started, enter a page with the same name found in tabs list. NameError will be raised at this point. I'm curios if this script is used anywhere, I couldn't

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch looks good. Can you describe manual steps to reproduce the issue? -- assignee: -> asvetlov nosy: +asvetlov ___ Python tracker ___ __

[issue14496] Wrong name in idlelib/tabbedpages.py

2012-04-04 Thread Popa Claudiu
New submission from Popa Claudiu : In the file from the subject, page_name was used instead of tab_name, increasing the chances of a NameError exception. I didn't find any tests for IDLE, so there are no tests attached. -- components: IDLE files: idlelib.patch keywords: patch messages: