[issue6872] Support system readline on OS X 10.6

2009-09-24 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for working on this, Ronald. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6872 ___

[issue6872] Support system readline on OS X 10.6

2009-09-20 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is a duplicate of issue 6877, I'm therefore closing this one. I've just committed a slightly updated patch from that issue to the trunk and 3.2. -- resolution: - duplicate status: open - closed

[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: purpleidea : Whether or not indexes should be 0-based in general is beyond the scope of this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6872

[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've added an updated patch to issue 6877 that implements the same 1-based indexing as GNU's readline and also adds a note to the documentation to warn users about the possibility of linking the readline module to libedit. That patch

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I also agree that this is desirable to have, and that the readline module should provide the GNU semantics even with a different implementation. -- nosy: +loewis ___ Python tracker

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Zvezdan Petkovic
Zvezdan Petkovic zvez...@zope.com added the comment: This patch could potentially break non-Mac OS X systems. Fortunately, I have a patch that works with systems that use GNU readline and systems that use editline emulation. See issue 6877. Unfortunately, I was lingering for over a year with

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Zvezdan Petkovic
Zvezdan Petkovic zvez...@zope.com added the comment: Also, the patch from issue 6877 changes setup.py in a way that enables build of the readline module on Leopard as well. Such build is used for about two years already (Python 2.4) by several people in my company and nobody noticed any

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6872 ___ ___ Python-bugs-list mailing

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread James
James purplei...@gmail.com added the comment: it seems to me, that any and all readline interfaces should/could standardize to the indexing scheme as used by the language; maybe i'm wrong, but since python is zero based, so could the readline interfaces. it's definitely more logical for a

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: The readline library supplied in OS X 10.6 looks good enough to use in Python. It would be nice to enable building with this library, to avoid having to install GNU readline. There's a curious off-by-one difference between Apple's

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: And here's the patch. -- keywords: +patch Added file: http://bugs.python.org/file14868/snow_leopard_readline.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6872

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I wouldn't mind having a proper patch and doing away with the need for GNU's readline. IMHO the patch should try to stay as close to GNU readline's interface as possible, and should therefore fix the off-by-one difference you mention.

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hmm. This is looking like a bigger task than I bargained for. I notice that the readline library currently has no tests (or maybe I'm just failing to find them). I'm not even sure how to go about writing tests for readline. IMHO the