Package: ipython
Version: 0.10-1
Severity: normal
Tags: patch

Hello,

when using ipython on python2.6, the print statement causes extra output that
seems to indicate that ipython converts this to a print command.  This is not 
what the completion in ipython.el expects, so parsing the answer fails and no
results are shown.

The remedy which matches the attached patch is already in upstream trunk, but 
it may be nice to provide it already in Debian.

Greetings,

Steven.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ipython depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-support                1.0.7      automated rebuilding support for P

Versions of packages ipython recommends:
ii  global                      5.7.1-1      Source code search and browse tool
ii  python [python-ctypes]      2.5.4-9      An interactive high-level object-o
ii  python-foolscap             0.5.0+dfsg-1 object-capability-based RPC system
ii  python-openssl              0.10-1       Python wrapper around the OpenSSL 
ii  python-twisted-core         10.0.0-2     Event-based framework for internet
ii  python-wxgtk2.8             2.8.10.1-3   wxWidgets Cross-platform C++ GUI t
ii  python-zope.interface       3.5.3-1+b1   Interfaces for Python

Versions of packages ipython suggests:
ii  libjs-jquery                1.4.1-1      JavaScript library for dynamic web
ii  python-gobject              2.20.0-1+b1  Python bindings for the GObject li
ii  python-gtk2                 2.16.0-2     Python bindings for the GTK+ widge
ii  python-matplotlib           0.99.1.2-3   Python based plotting system in a 
ii  python-numpy                1:1.3.0-3+b1 Numerical Python adds a fast array
pn  python-profiler             <none>       (no description available)
ii  python-qt4                  4.6-1        Python bindings for Qt4

-- no debconf information
*** ipython.el.orig	2010-03-26 22:29:26.000000000 +0100
--- ipython.el.new	2010-03-26 22:35:28.000000000 +0100
***************
*** 311,317 ****
          (replace-match "" t nil)))))
  
  (defvar ipython-completion-command-string
!   "print ';'.join(__IP.Completer.all_completions('%s')) #PYTHON-MODE SILENT\n"
    "The string send to ipython to query for all possible completions")
  
  
--- 311,317 ----
          (replace-match "" t nil)))))
  
  (defvar ipython-completion-command-string
!   "print(';'.join(__IP.Completer.all_completions('%s'))) #PYTHON-MODE SILENT\n"
    "The string send to ipython to query for all possible completions")
  
  

Reply via email to