%edit fails on Windows PC if filename has spaces in it

Bug #372271 reported by Jose Unpingco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Fix Committed
Undecided
Unassigned

Bug Description

in this file:

c:/Python25/Lib/site-packages/ipython-0.9.1-py2.5.egg/IPython/Magic.py

Line 2331 will have to be changed to

        self.shell.hooks.editor('"'+filename+'"',lineno)

In case there are spaces in the filename when the %edit Magic is called.

The updated Magic file is attached.

Revision history for this message
Jose Unpingco (unpingco) wrote :
Revision history for this message
Fernando Perez (fdo.perez) wrote :

Thanks! Fix committed in r1242 of trunk. Sorry for the crazy long delay :)

Changed in ipython:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.