[Ipython-tickets] [IPython] #233: Autocomplete incorrectly prepends backslash to brackets in filenames under Windows Vista

IPython ipython-tickets@scipy....
Tue Feb 19 13:07:00 CST 2008


#233: Autocomplete incorrectly prepends backslash to brackets in filenames under
Windows Vista
----------------------+-----------------------------------------------------
 Reporter:  LLoyd     |       Owner:  fperez
     Type:  defect    |      Status:  new   
 Priority:  low       |   Milestone:        
Component:  chainsaw  |     Version:        
 Severity:  minor     |    Keywords:        
----------------------+-----------------------------------------------------
 If a filename contains a bracket, then the bracket is prepended with a \
 when autocomplete is used. '(' and ')' are valid characters in filenames
 under Windows, so they don't need to be escaped.

 e.g.:
 {{{
 In [24]: pwd
 Out[24]: 'C:\\ipython_test'

 In [25]: !echo hello > test(123)

 In [26]: ls
  Volume in drive C is OS
  Volume Serial Number is 6685-C777

  Directory of C:\ipython_test

 19/02/2008  13:54    <DIR>          .
 19/02/2008  13:54    <DIR>          ..
 19/02/2008  13:54                 8 test(123)
                1 File(s)              8 bytes
                2 Dir(s)   5,972,664,320 bytes free

 In [27]: ls tes
 }}}
 <...press tab...>
 {{{
 In [27]: ls test\(123\)
 The system cannot find the path specified.

 In [28]:
 }}}

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/233>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list