[Ipython-tickets] [IPython] #190: # gets converted to \# in var_expand

IPython ipython-tickets@scipy....
Mon Oct 15 04:35:35 CDT 2007


#190: # gets converted to \# in var_expand
----------------------+-----------------------------------------------------
 Reporter:  vivainio  |       Owner:  vivainio
     Type:  defect    |      Status:  new     
 Priority:  high      |   Milestone:          
Component:  ipython   |     Version:          
 Severity:  major     |    Keywords:          
----------------------+-----------------------------------------------------
 Example:
 {{{
 [q:]|232> echo #
 \#
 }}}

 This is probably due to

 cmd.replace('#','\#')

 in iplib.py/var_expand. This needs to be removed to allow normal use of #
 in shell expressions.

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


More information about the Ipython-tickets mailing list