[New-bugs-announce] [issue5559] IDLE Output Window 's goto fails when path has spaces
Claudio Canepa
report at bugs.python.org
Wed Mar 25 04:22:52 CET 2009
New submission from Claudio Canepa <ccanepacc at gmail.com>:
in windows XP, python 2.6.1, 2.6 , python 2.4
1. do an Edit | 'Find in files' [ it pop ups the Output Window with
result]
2. Right click over one of the target lines found, click the 'goto file
\line' pop up
If the path in the target line has spaces, it will popup a window with
title 'No special line' and message 'the line you point at doenst look
like a valid file name followed by a line number'
posible fix:
in idlelib/OutputWindow.py
replace the literal
r'([^\s]+):\s*(\d+):'
with
r'([^\t\n\r\f\v]+):\s*(\d+):'
fair warning: seems to work in windows XP, dont know about other OSes
----------
components: IDLE
messages: 84142
nosy: ccanepa
severity: normal
status: open
title: IDLE Output Window 's goto fails when path has spaces
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5559>
_______________________________________
More information about the New-bugs-announce
mailing list