Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b06df27

Browse files
committed
--with-readline is obsolete (and some editorial stuff in README)
1 parent 3c7c678 commit b06df27

4 files changed

Lines changed: 241 additions & 327 deletions

File tree

README

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python release 1.5 alpha 2
1+
This is Python release 1.5 alpha 3
22
==================================
33

44
******************************************
@@ -8,16 +8,37 @@ This is Python release 1.5 alpha 2
88
What's new in this release?
99
---------------------------
1010

11-
Ehm, I'll be more complete later. Som highlights: I've completed the
12-
Grand Renaming. It's much faster (almost twice for pystone.py -- see
13-
Tools/scripts.) There's an assert statement, and a -O option that
14-
squeezes SET_LINENO instructions and if __debug__ code. It's much
15-
smarter (only on Unix, so far) about the initial value for sys.path.
16-
See the usage message (python -h). There's an explicit structure that
17-
maintains all per-thread globals.
11+
Too much has changed to list it all; I'll be more complete later.
1812

19-
Unfinished projects: documentation; multiple independent interpreters;
20-
better embedding support; more Windows support.
13+
The most important changes since Python 1.4 include:
14+
15+
- Many previously undocumented modules are now documented; some are
16+
now officially obsolete or deprecated.
17+
18+
- It's much faster (almost twice for pystone.py -- see Tools/scripts.)
19+
20+
- There's an assert statement.
21+
22+
- There's a -O option that removes SET_LINENO instructions and code
23+
prefixed with ``if __debug__: ...''.
24+
25+
- It's much smarter about the initial value for sys.path; you can
26+
control it easier using $PYTHONHOME (see the usage message, e.g. try
27+
``python -h'').
28+
29+
- The Grand Renaming is completed: all linker-visible symbols defined
30+
by Python now have a "Py" or "_Py" prefix, and the same is true for
31+
most macros and typedefs.
32+
33+
- The build strategy now uses a single library (libpython1.5.a) which
34+
contains everything except for the main() entry point. This makes
35+
life much easier for applications that want to embed Python.
36+
37+
- There is also much better support for embedding Python in
38+
applications that use threads.
39+
40+
- Unfinished projects: documentation; multiple independent
41+
interpreters; more Windows support.
2142

2243

2344
What is Python anyway?
@@ -328,9 +349,7 @@ script.
328349
WARNING: if you rerun the configure script with different options, you
329350
must run "make clean" before rebuilding. Exceptions to this rule:
330351
after changing --prefix or --exec-prefix, all you need to do is remove
331-
Modules/getpath.o; after changing --with-readline, just remove
332-
Parser/myreadline.o (but if it doesn't seem to work, always try "make
333-
clean" before giving up or complaining!).
352+
Modules/getpath.o.
334353

335354
--with(out)-gcc: The configure script uses gcc (the GNU C compiler) if
336355
it finds it. If you don't want this, or if this compiler is
@@ -356,28 +375,8 @@ clean" before giving up or complaining!).
356375
than re-running the configure script if you change your mind
357376
about the install prefix...
358377

359-
--with-readline: You can use the GNU readline library to improve the
360-
interactive user interface. This gives you line editing and
361-
command history when calling Python interactively. Unless GNU
362-
readline is a standard part of your system (it is on Linux),
363-
you need to configure build the GNU readline library before
364-
running the configure script. Its sources are not distributed
365-
with Python; you can ftp them from any GNU mirror site, or
366-
from its home site:
367-
ftp://slc2.ins.cwru.edu/pub/dist/readline-2.0.tar.gz (or
368-
a higher version number -- using version 1.x is not
369-
recommended).
370-
371-
A GPL-free version was posted to comp.sources.misc in volume
372-
31 and is widely available from FTP archive sites, e.g.
373-
ftp://gatekeeper.dec.com/.
374-
375-
Pass the Python configure script the option
376-
--with-readline=DIRECTORY where DIRECTORY is the absolute
377-
pathname of the directory where you've built the readline
378-
library. If GNU readline is a standard part of your system,
379-
don't pass '=DIRECTORY'. Some hints on building and using the
380-
readline library are in the FAQ (file Misc/FAQ).
378+
--with-readline: This option is no longer supported. To use GNU
379+
readline, enable module "readline" in the Modules/Setup file.
381380

382381
--with-thread: On most Unix systems, you can now use multiple threads.
383382
To enable this, pass --with-thread. (--with-threads is an

acconfig.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,5 @@
8787
/* Define if you want to compile in rudimentary thread support */
8888
#undef WITH_THREAD
8989

90-
/* Define if you want to use the GNU readline library */
91-
#undef WITH_READLINE
92-
9390

9491
/* Leave that blank line there-- autoheader needs it! */

config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@
145145
/* Define if you want to compile in rudimentary thread support */
146146
#undef WITH_THREAD
147147

148-
/* Define if you want to use the GNU readline library */
149-
#undef WITH_READLINE
150-
151148
/* The number of bytes in a int. */
152149
#undef SIZEOF_INT
153150

0 commit comments

Comments
 (0)