The standard Python readline extension statically linked against the GNU readline library.
Project description
Stand-alone GNU readline module
Some platforms, such as Mac OS X, do not ship with GNU readline installed. The readline extension module in the standard library of Mac “system” Python uses NetBSD’s editline (libedit) library instead, which is a readline replacement with a less restrictive software license.
As the alternatives to GNU readline do not have fully equivalent functionality, it is useful to add proper readline support to these platforms. This module achieves this by bundling the standard Python readline module with the GNU readline source code, which is compiled and statically linked to it. The end result is a package which is simple to install and requires no extra shared libraries.
The module is called gnureadline so as not to clash with the readline module in the standard library. This keeps polite installers such as pip happy and is sufficient for shells such as IPython. In order to use this module in the standard Python shell it has to be installed with the more impolite easy_install from setuptools.
The module can be used with both Python 2.x and 3.x, and has been tested with Python versions 2.6, 2.7, 3.2 and 3.3. The major and minor numbers of the module version reflect the version of the underlying GNU readline library, while the third (patch) number distinguishes different module updates based on the same readline library.
This module is usually unnecessary on Linux and other Unix systems with default readline support. An exception is if you have a Python distribution that does not include GNU readline due to licensing restrictions (such as ActiveState’s ActivePython). If you are using Windows, which also ships without GNU readline, you might want to consider using the pyreadline module instead, which is a readline replacement written in pure Python that interacts with the Windows clipboard.
The latest development version is available from the GitHub repository.
History
6.2.5 (2014-02-19)
Renamed module to gnureadline to improve installation with pip
#23, #25-27, #29-33: Tweaks and package reworked to gnureadline
Uses Python 2.x readline.c from hg 2.7 branch (89084:6b10943a5916)
Uses Python 3.x readline.c from hg 3.3 branch (89085:6adac0d9b933)
Updated to build against readline 6.2 (patch-level 5)
6.2.4.1 (2012-10-22)
#21: Fixed building on Python.org 3.3 / Mac OS 10.8
6.2.4 (2012-10-17)
#15: Improved detection of compilers before Xcode 4.3
Uses Python 3.x readline.c from v3.3.0 tag (changeset 73997)
Updated to build against readline 6.2 (patch-level 4)
6.2.2 (2012-02-24)
#14: Fixed compilation with Xcode 4.3 on Mac OS 10.7
Updated to build against readline 6.2 (patch-level 2)
6.2.1 (2011-08-31)
#10: Fixed ‘_emacs_meta_keymap’ missing symbol on Mac OS 10.7
#7: Fixed SDK version check to work with Mac OS 10.7 and later
Uses Python 2.x readline.c from release27-maint branch (r87358)
Uses Python 3.x readline.c from release32-maint branch (r88446)
6.2.0 (2011-06-02)
#5: Removed ‘-arch ppc’ on Mac OS 10.6, as Snow Leopard supports Intel only
Updated to build against readline 6.2 (patch-level 1)
6.1.0 (2010-09-20)
Changed version number to reflect readline version instead of Python version
#4: Updated to build against readline 6.1 (patch-level 2)
#2: Python 3 support
Uses Python 2.x readline.c from release27-maint branch (r83672)
Uses Python 3.x readline.c from r32a2 tag (r84541)
Source code moved to GitHub
Additional maintainer: Sridhar Ratnakumar
2.6.4 (2009-11-26)
Added -fPIC to compiler flags to fix linking error on 64-bit Ubuntu
Enabled all readline functionality specified in pyconfig.h macros
Uses readline.c from Python svn trunk (r75725), which followed 2.6.4 release
Patched readline.c to replace Py_XDECREF calls with the safer Py_CLEAR
Fixed compilation error on Mac OS 10.4 with XCode older than version 2.4
2.6.1 (2009-11-18)
Updated package to work with Mac OS 10.6 (Snow Leopard), which ships with Python 2.6.1
Uses readline.c from Python 2.6.1 release
Backported “spurious trailing space” bugfix from Python svn trunk (see e.g. https://bugs.launchpad.net/python/+bug/470824 for details on bug)
Updated to build against readline 6.0 (patch-level 4)
Now builds successfully on Linux (removed Mac-specific flags in this case), and still supports Mac OS 10.4 and 10.5
2.5.1 (2008-05-28)
Updated package to work with Mac OS 10.5 (Leopard), which ships with Python 2.5.1
Uses readline.c from Python 2.5.1 release
Updated to build against readline 5.2 (patch-level 12)
New maintainer: Ludwig Schwardt
2.4.2 (2005-12-26)
Original package by Bob Ippolito, supporting Python 2.3 / 2.4 on Mac OS 10.3 (Panther) and 10.4 (Tiger)
Builds against readline 5.1
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file gnureadline-6.2.5.tar.gz
.
File metadata
- Download URL: gnureadline-6.2.5.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b62768c527d7681a7098aab5cdb24b8e64eda6bf02841b7149a95a4f39720d |
|
MD5 | ae4fa2c92511574015b258657da994b0 |
|
BLAKE2b-256 | b1d6e7ca8d8c8ab877a2ecccc9a4a6179912c67ab3da7b5621d22d8f20c292ef |
File details
Details for the file gnureadline-6.2.5-py3.3-macosx-10.9-x86_64.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py3.3-macosx-10.9-x86_64.egg
- Upload date:
- Size: 121.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35edcafba1458b6de6968ff5a187f83f5f2c172df44a02f610c1c74beba5072 |
|
MD5 | 41fbd9a86459ed4a1f8dde49607167bc |
|
BLAKE2b-256 | ce69586fb8f151a51c2225c33e66bec5dcc0c0dccb31692f487e1dc1c4231f0a |
File details
Details for the file gnureadline-6.2.5-py3.3-macosx-10.6-intel.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py3.3-macosx-10.6-intel.egg
- Upload date:
- Size: 242.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6bd007a3e3cc1e4c3e95f7f951cea5d7d743cd72f9d98d430d81667bcd080d |
|
MD5 | 3217a2b8c3669190cce75b73d12c2b9d |
|
BLAKE2b-256 | 1aafb4b69abd0038d35206881c3457495ad6dd1bd772e5065b4295542566b0e7 |
File details
Details for the file gnureadline-6.2.5-py3.3-macosx-10.5-x86_64.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py3.3-macosx-10.5-x86_64.egg
- Upload date:
- Size: 120.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2117f6eecd59a5e7404ad00cf8b028dc87cb25c979c1e99f9a146c0a04e0eb2c |
|
MD5 | 751ee5e4d796db61cc59d8f7f3e01718 |
|
BLAKE2b-256 | 00f28e6487daae34ec0b56b08186d50dd75a5b0abda0ee5f7720f57fb1cb2e7c |
File details
Details for the file gnureadline-6.2.5-py2.7-macosx-10.9-x86_64.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.7-macosx-10.9-x86_64.egg
- Upload date:
- Size: 120.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4d0ae22cdc113bfcf184f12ffb53de7c6955ebaf85334b2f124523ffb84bed8 |
|
MD5 | 469753c6d71c8a7e1337d3b235c0d1a9 |
|
BLAKE2b-256 | 4bf789c5b0b5741b4578e8d006acaf02960ae250e444dddb8bf4a3462bc7692c |
File details
Details for the file gnureadline-6.2.5-py2.7-macosx-10.9-intel.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.7-macosx-10.9-intel.egg
- Upload date:
- Size: 236.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f973c0d1296562a9ecc3c273be97f253150a6435f63e70d1ac75a7f1812eb655 |
|
MD5 | eaf7018e2c17cef84af287dbc501a7b2 |
|
BLAKE2b-256 | ae3490ec6181225eed03f151892aa399d55bb01ae3b801d29ef807e44fa0fa8e |
File details
Details for the file gnureadline-6.2.5-py2.7-macosx-10.7-intel.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.7-macosx-10.7-intel.egg
- Upload date:
- Size: 235.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f90dec1c33cea4623ae6248280bbf56c0f4ede0332f31a1bde95c908aeec45f |
|
MD5 | d9803f1d51ca23675ca88eec7e74b8c9 |
|
BLAKE2b-256 | 45381e6907a76a5e95f8315689a9482ee29c8f75c9e74fc6a4b9878ff1fad27c |
File details
Details for the file gnureadline-6.2.5-py2.7-macosx-10.6-intel.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.7-macosx-10.6-intel.egg
- Upload date:
- Size: 242.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caea789321584dde75fbfcd07fd52ec08b22634c21edb71219f6ada45211b190 |
|
MD5 | 3adba9b61a9e8cf6af8e1be6a775244d |
|
BLAKE2b-256 | dc805f8bc9958a99ca83a00be62865acb20b78d3c798510fa871a2957681288a |
File details
Details for the file gnureadline-6.2.5-py2.7-macosx-10.5-x86_64.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.7-macosx-10.5-x86_64.egg
- Upload date:
- Size: 119.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cab8c82c1191906a4939071394609527f520af0ddea983ebb41b49bb31281d1 |
|
MD5 | 1ff3bc0b28363f0003d253a3429d6048 |
|
BLAKE2b-256 | d23a31ac77c3c5f1162b77eb617f92858410a2b33ca7f080205df1a4f231f56c |
File details
Details for the file gnureadline-6.2.5-py2.6-macosx-10.6-universal.egg
.
File metadata
- Download URL: gnureadline-6.2.5-py2.6-macosx-10.6-universal.egg
- Upload date:
- Size: 217.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b40e6abb01233dfeaff22c6223a08ddd945bbbfd9d5578c85c35e311175eca |
|
MD5 | d0d080b311c052d49f1289185c95fda7 |
|
BLAKE2b-256 | ad7262606971a1187150ded021eeabebc25df37d1a73da22cad68d6de99c0f13 |
File details
Details for the file gnureadline-6.2.5-cp33-cp33m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp33-cp33m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 123.9 kB
- Tags: CPython 3.3m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c2beecdbebb3272b6a840694a0e04b65f6b84ac19805918a214d8d3037a6404 |
|
MD5 | dde1da228a986cf16b1e8776cce27cdc |
|
BLAKE2b-256 | f7de2a0200c15179c98e504dc5da5c61969bc7641f3616558bf0b98e631c41f7 |
File details
Details for the file gnureadline-6.2.5-cp33-cp33m-macosx_10_6_intel.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp33-cp33m-macosx_10_6_intel.whl
- Upload date:
- Size: 245.6 kB
- Tags: CPython 3.3m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2fc57a8be85b13113f5e23ddef60b836f948973035ca611847d373e5622fb49 |
|
MD5 | 9010232a552ab85aded26e0419c55525 |
|
BLAKE2b-256 | 05d44068754fe06f7e59d3532da309a5dc6ec7e0be7a50b6ed91bbdb15a43e6d |
File details
Details for the file gnureadline-6.2.5-cp33-cp33m-macosx_10_5_x86_64.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp33-cp33m-macosx_10_5_x86_64.whl
- Upload date:
- Size: 122.8 kB
- Tags: CPython 3.3m, macOS 10.5+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637c4de5f588fcae744c7590d155c74d5d7073d96d78a89fb62d42bd906b777b |
|
MD5 | 99dabd06181d3c3213d583cbd6c3f276 |
|
BLAKE2b-256 | 04a33f81cd22eaae02b296d3dfe41b1a2530fdb7c7eba63624ad112829ce8560 |
File details
Details for the file gnureadline-6.2.5-cp27-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp27-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 123.6 kB
- Tags: CPython 2.7, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1541aa32b062aea683da359c718c38d07a3fed3718cc9603e341d43a4d5c6009 |
|
MD5 | 35e0d434af7f4dd43e8b116f3dd784fa |
|
BLAKE2b-256 | 6bda07e016352b2b09621f87deaf5fc3c51acdddbf5bdeb1f762d3c24386f763 |
File details
Details for the file gnureadline-6.2.5-cp27-none-macosx_10_9_intel.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp27-none-macosx_10_9_intel.whl
- Upload date:
- Size: 239.4 kB
- Tags: CPython 2.7, macOS 10.9+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282bbc6578351a4e020f49eb1829e06dd62ecacd67efbc795a8473fe2476c1b9 |
|
MD5 | b06ef1b43119032de8bb8e0c9ac873d2 |
|
BLAKE2b-256 | 8d8789b6dfaca4df54b6034435de677040df08c4116a6481b5ccbde5c93c4330 |
File details
Details for the file gnureadline-6.2.5-cp27-none-macosx_10_7_intel.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp27-none-macosx_10_7_intel.whl
- Upload date:
- Size: 237.5 kB
- Tags: CPython 2.7, macOS 10.7+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eddbe8311f0fd7f5667e8a43d41754a4836d6561955638b999349bb1189d054 |
|
MD5 | 2314fda9e2dc0d5223bc31cabfeaa6ac |
|
BLAKE2b-256 | def63abbdef159e37354877ec3afe11cbd0df671b8ab1f08314622189c405cbe |
File details
Details for the file gnureadline-6.2.5-cp27-none-macosx_10_6_intel.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp27-none-macosx_10_6_intel.whl
- Upload date:
- Size: 245.1 kB
- Tags: CPython 2.7, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f93db1ed8d87809d92dcdd62aa9beacb6bfcc2cf2398cb10a337bc6b655da9a |
|
MD5 | f7f239845898d0eb6f24c86dd3c53e74 |
|
BLAKE2b-256 | 510cfe770455b96d987387c46e9869034f6a1087a63a2ee8b813e531bac4f74a |
File details
Details for the file gnureadline-6.2.5-cp27-none-macosx_10_5_x86_64.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp27-none-macosx_10_5_x86_64.whl
- Upload date:
- Size: 122.6 kB
- Tags: CPython 2.7, macOS 10.5+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a1cf8a8e8f56799fcb700729cfc84b16cfa195c73c7199dc9d1270a0cc5df68 |
|
MD5 | de49b91c14bf1e4f2c57716881250ab6 |
|
BLAKE2b-256 | c7126f88deb0325e5ac161b2e962597a04838ccd8848ddfbcc3b120c1d4fe6ff |
File details
Details for the file gnureadline-6.2.5-cp26-none-macosx_10_6_universal.whl
.
File metadata
- Download URL: gnureadline-6.2.5-cp26-none-macosx_10_6_universal.whl
- Upload date:
- Size: 219.5 kB
- Tags: CPython 2.6, macOS 10.6+ universal
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55dfe8ab762d49a5dd9888073fd1215d32bcd77b882828595742f58114cc048c |
|
MD5 | 7df298c0afb374d6e9f5f56f241e8f2d |
|
BLAKE2b-256 | 5b087a102d2e097543ddc212fbfbf4cc347bdfbf98a4ca8892077904e30c9b4f |