[Python-modules-team] Bug#486923: ipython: ipipe.py has broken import of "path"

Chris Walker chrisw at chiark.greenend.org.uk
Sat Oct 18 21:31:19 UTC 2008


On Thu, Jun 19, 2008 at 12:23:01AM +0100, John Kozak wrote:
> Package: ipython
> Version: 0.8.4-1
> Severity: normal
> 
> path.py seems to have recently moved to a new directory (IPython.external) but
> the import in ipipe.py hasn't been updated.

The patch below seems to fix the bug for me:

Chris


Daedalus:/home/chrisw# diff -u /usr/share/python-support/ipython/IPython/Extensions/ipipe.py~ /usr/share/python-support/ipython/IPython/Extensions/ipipe.py
--- /usr/share/python-support/ipython/IPython/Extensions/ipipe.py~	2008-05-31 23:31:42.000000000 +0100
+++ /usr/share/python-support/ipython/IPython/Extensions/ipipe.py	2008-10-18 22:24:29.000000000 +0100
@@ -124,7 +124,7 @@
 
 from IPython.external import simplegeneric
 
-import path
+from IPython.external import path
 
 try:
     from IPython import genutils, generics





More information about the Python-modules-team mailing list