Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279234 - dev-lang/python: Extra space on completion when using readline-6.0
Summary: dev-lang/python: Extra space on completion when using readline-6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue5833
Whiteboard: 2.6.5, 3.1.2
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 22:56 UTC by Dror Levin (RETIRED)
Modified: 2010-03-22 18:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch applied in Arch (python-2.6-readline.patch,723 bytes, patch)
2009-07-26 22:59 UTC, Dror Levin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.