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.
Created on 2012年04月04日 17:32 by Claudiu.Popa, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| idlelib.patch | Claudiu.Popa, 2012年04月04日 17:32 | review | ||
| test_tabbedpages.py | Claudiu.Popa, 2012年04月04日 18:44 | |||
| Messages (5) | |||
|---|---|---|---|
| msg157494 - (view) | Author: PCManticore (Claudiu.Popa) * (Python triager) | Date: 2012年04月04日 17:32 | |
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. |
|||
| msg157495 - (view) | Author: Andrew Svetlov (asvetlov) * (Python committer) | Date: 2012年04月04日 18:07 | |
The patch looks good. Can you describe manual steps to reproduce the issue? |
|||
| msg157497 - (view) | Author: PCManticore (Claudiu.Popa) * (Python triager) | Date: 2012年04月04日 18:44 | |
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 find any reference to it in the source code. |
|||
| msg157590 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年04月05日 13:58 | |
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 |
|||
| msg157591 - (view) | Author: Andrew Svetlov (asvetlov) * (Python committer) | Date: 2012年04月05日 14:05 | |
Fixed. Thanks. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:28 | admin | set | github: 58701 |
| 2012年04月05日 14:05:14 | asvetlov | set | status: open -> closed resolution: fixed messages: + msg157591 stage: resolved |
| 2012年04月05日 13:58:39 | python-dev | set | nosy:
+ python-dev messages: + msg157590 |
| 2012年04月04日 18:44:23 | Claudiu.Popa | set | files:
+ test_tabbedpages.py messages: + msg157497 |
| 2012年04月04日 18:07:07 | asvetlov | set | assignee: asvetlov messages: + msg157495 nosy: + asvetlov |
| 2012年04月04日 17:32:59 | Claudiu.Popa | create | |