This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients berker.peksag, donmez, emaste, eric.araujo, koobs, martin.panter, ned.deily, ngie, ronaldoussoren, vstinner
Date 2016-03-20.07:40:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458459649.11.0.796204133461.issue13501@psf.upfronthosting.co.za>
In-reply-to
Content
Quoting Ned: “The current behavior is: enable building readline with GNU readline if found on the search paths, . . . and, if not found and on OS X, use editline if found on the search paths.  Some build scripts depend on that behavior.”

Can you point out any logic (e.g. in configure.ac) that handles this? I suspect you might be mistaken. My understanding is that we always include <readline/readline.h> and always link against -lreadline, regardless of platform. My guess is that on OS X, the include file and library are actually pointers to Editline code, rather than Gnu code.

This is in contrast to my situation on Arch Linux, where I can install both the Gnu “readline” and the “libedit” packages without conflict. Gnu Readline is accessible via <readline/readline.h> and -lreadline, and Editline’s Readline compatibility is accessible via <editline/readline.h> and -ledit.

So I suspect there is no special on-OS-X condition to change or remove (if we ignore those #ifdef __APPLE__ bug workarounds for the moment). Maybe I should drop that DEFAULT_LIBREADLINE business from the patch.
History
Date User Action Args
2016-03-20 07:40:49martin.pantersetrecipients: + martin.panter, ronaldoussoren, vstinner, donmez, ned.deily, eric.araujo, ngie, berker.peksag, koobs, emaste
2016-03-20 07:40:49martin.pantersetmessageid: <1458459649.11.0.796204133461.issue13501@psf.upfronthosting.co.za>
2016-03-20 07:40:49martin.panterlinkissue13501 messages
2016-03-20 07:40:48martin.pantercreate