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 | georg.brandl |
|---|---|
| Recipients | georg.brandl, jhylton, nirai |
| Date | 2008年07月19日.10:31:51 |
| SpamBayes Score | 4.9124415e-06 |
| Marked as misclassified | No |
| Message-id | <1216463517.66.0.629036389226.issue3415@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
For reference, here is the output of the pdb session: gbr@lap ~/devel/python> ./python Lib/pdb.py Lib/idlelib/idle.py > /home/gbr/devel/python/Lib/idlelib/idle.py(1)<module>() -> try: (Pdb) break multicall.py:300 *** 'multicall.py' not found from sys.path (Pdb) break idle.py:10 Breakpoint 1 at /home/gbr/devel/python/Lib/idlelib/idle.py:10 (Pdb) c Traceback (most recent call last): File "/home/gbr/devel/python/Lib/pdb.py", line 1275, in main pdb._runscript(mainpyfile) File "/home/gbr/devel/python/Lib/pdb.py", line 1192, in _runscript self.run(statement) File "/home/gbr/devel/python/Lib/bdb.py", line 366, in run exec cmd in globals, locals File "<string>", line 1, in <module> File "Lib/idlelib/idle.py", line 21, in <module> idlelib.PyShell.main() File "/home/gbr/devel/python/Lib/idlelib/PyShell.py", line 1396, in main shell = flist.open_shell() File "/home/gbr/devel/python/Lib/idlelib/PyShell.py", line 275, in open_shell self.pyshell = PyShell(self) File "/home/gbr/devel/python/Lib/idlelib/PyShell.py", line 816, in __init__ OutputWindow.__init__(self, flist, None, None) File "/home/gbr/devel/python/Lib/idlelib/OutputWindow.py", line 16, in __init__ EditorWindow.__init__(self, *args) File "/home/gbr/devel/python/Lib/idlelib/EditorWindow.py", line 108, in __init__ self.text = text = MultiCallCreator(Text)( File "/home/gbr/devel/python/Lib/idlelib/MultiCall.py", line 294, in MultiCallCreator class MultiCall (widget): File "/home/gbr/devel/python/Lib/idlelib/MultiCall.py", line 295, in MultiCall assert issubclass(widget, Tkinter.Misc) NameError: free variable 'widget' referenced before assignment in enclosing scope Uncaught exception. Entering post mortem debugging Running 'cont' or 'step' will restart the program > /home/gbr/devel/python/Lib/idlelib/MultiCall.py(295)MultiCall() -> assert issubclass(widget, Tkinter.Misc) (Pdb) I *think* we had some similar issue with trace functions and class scopes in the past, but can't remember where. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年07月19日 10:31:57 | georg.brandl | set | spambayes_score: 4.91244e-06 -> 4.9124415e-06 recipients: + georg.brandl, jhylton, nirai |
| 2008年07月19日 10:31:57 | georg.brandl | set | spambayes_score: 4.91244e-06 -> 4.91244e-06 messageid: <1216463517.66.0.629036389226.issue3415@psf.upfronthosting.co.za> |
| 2008年07月19日 10:31:53 | georg.brandl | link | issue3415 messages |
| 2008年07月19日 10:31:51 | georg.brandl | create | |