homepage

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 ned.deily
Recipients jimbo1qaz, ned.deily, roger.serwy
Date 2012年09月25日.04:48:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348548534.88.0.614764206005.issue16033@psf.upfronthosting.co.za>
In-reply-to
Content
With 3.2.3 (on OS X), if I open a new edit window, enter a few files, save the file, set a breakpoint on a line, then save the file again (with or without having debug on), the following exception occurs but IDLE keeps running:
Exception in Tkinter callback
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/tkinter/__init__.py", line 1399, in __call__
 return self.func(*args)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/idlelib/MultiCall.py", line 166, in handler
 r = l[i](event)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/idlelib/IOBinding.py", line 336, in save
 self.editwin.store_file_breaks()
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/idlelib/PyShell.py", line 214, in store_file_breaks
 self.update_breakpoints()
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/idlelib/PyShell.py", line 244, in update_breakpoints
 linenumber_list = self.ranges_to_linenumbers(ranges)
 File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/idlelib/PyShell.py", line 250, in ranges_to_linenumbers
 lineno = int(float(ranges[index]))
TypeError: float() argument must be a string or a number
In a quick attempt, I was not able to produce the same exception with 3.3.0rc3.
History
Date User Action Args
2012年09月25日 04:48:54ned.deilysetrecipients: + ned.deily, roger.serwy, jimbo1qaz
2012年09月25日 04:48:54ned.deilysetmessageid: <1348548534.88.0.614764206005.issue16033@psf.upfronthosting.co.za>
2012年09月25日 04:48:54ned.deilylinkissue16033 messages
2012年09月25日 04:48:53ned.deilycreate

AltStyle によって変換されたページ (->オリジナル) /