Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 279234

Summary: dev-lang/python: Extra space on completion when using readline-6.0
Product: Gentoo Linux Reporter: Dror Levin (RETIRED) <spatz>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: matthew.m.mccormick
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.python.org/issue5833
Whiteboard: 2.6.5, 3.1.2
Package list:
Runtime testing required: ---
Attachments: Patch applied in Arch

Description Dror Levin (RETIRED) gentoo-dev 2009-07-26 22:56:38 UTC
When using autocompletion in python 2.6 with readline 6.0 there's an extra space after the completed word (e.g. in ipython). There's a patch for this issue in Arch, I will attach it here.
Comment 1 Dror Levin (RETIRED) gentoo-dev 2009-07-26 22:59:44 UTC
Created attachment 199262 [details, diff]
Patch applied in Arch

From http://repos.archlinux.org/viewvc.cgi/python/repos/extra-i686/
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-26 23:07:10 UTC
Has this problem been reported to Python upstream?
Comment 3 Dror Levin (RETIRED) gentoo-dev 2009-07-27 07:47:44 UTC
Yes, it is reported in http://bugs.python.org/issue5833
The patch attached is a subset of the patch in that report, only fixing the space issue.
Sorry for forgetting to include the upstream bug.
Comment 4 nachopro 2009-10-07 13:18:50 UTC
This patch works for me ;)
Comment 5 Dror Levin (RETIRED) gentoo-dev 2010-02-02 20:23:46 UTC
The upstream bug says the patch was committed to all branches (2.6, 2.7, 3.1, 3.2), which means it'll be in 2.6.5 (if that ever gets released). In this case, can it be applied in 2.6.4 to save us some waiting?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-22 18:12:46 UTC
Fixed in 2.6.5 and 3.1.2.