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.

classification
Title: Detect incomplete readline implementation
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, loewis, skip.montanaro
Priority: normal Keywords: patch

Created on 2006-02-21 04:33 by skip.montanaro, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
setup.diff skip.montanaro, 2006-02-21 04:33
Messages (3)
msg49552 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2006-02-21 04:33
Here's a patch for setup.py to detect  BSD-ish readlines that
don't have the full suite of readline/history functions needed
by Python (and provided by GNU readline).

Skip
msg49553 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2006-02-21 04:50
Logged In: YES 
user_id=357491

You mentioned on python-dev and in the diff that autoconf
could detect this better.  Would adding something to
configure and having distutils.sysconfig.get_config_var()
see if it is set be a better solution?
msg49554 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-02-19 10:33
I'm rejecting this patch as out-of-date. r42562 added a similar change, although restricted to OSX.

If anybody wants to work on it again, I recommend to add checks for exported functions to configure, then query them in setup.py (doing it in distutils is probably impractical, as you would want to cache the result, just as configure output is cached in config.status).
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42927
2006-02-21 04:33:20skip.montanarocreate