[issue6872] Support system readline on OS X 10.6

2009-09-24 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for working on this, Ronald. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue6872] Support system readline on OS X 10.6

2009-09-20 Thread Ronald Oussoren
Ronald Oussoren 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 ___ Python

[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren
Ronald Oussoren 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 would, possibly with cl

[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: purpleidea : Whether or not indexes should be 0-based in general is beyond the scope of this issue. -- ___ Python tracker ___

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread James
James 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 python programmer to expec

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Zvezdan Petkovic
Zvezdan Petkovic 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 issues on Mac OS X Leo

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Zvezdan Petkovic
Zvezdan Petkovic 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 opening a tracker

[issue6872] Support system readline on OS X 10.6

2009-09-10 Thread Martin v . Löwis
Martin v. Löwis 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-09 Thread Mark Dickinson
Mark Dickinson 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 patch should try to

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Ronald Oussoren
Ronald Oussoren 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. BTW. I suppose the co

[issue6872] Support system readline on OS X 10.6

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

[issue6872] Support system readline on OS X 10.6

2009-09-09 Thread Mark Dickinson
New submission from Mark Dickinson : 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 readline (which, as I un