GitHub

@@ -6,8 +6,8 @@ Reply-to: guido@cwi.nl (Guido van Rossum)

66

Approved: news-answers-request@MIT.Edu

7788

Archive-name: python-faq/part1

9-

Version: 1.2

10-

Last-modified: 24 Jan 1994

9+

Version: 1.3

10+

Last-modified: 26 Jan 1994

11111212

This article contains answers to Frequently Asked Questions about

1313

Python (an object-oriented interpreted programming language -- see

@@ -65,14 +65,14 @@ Here's an overview of the questions per chapter:

6565

1.5. Q. Is there a newsgroup or mailing list devoted to Python?

6666

1.6. Q. Is there a book on Python, or will there be one out soon?

6767

1.7. Q. Are there any published articles about Python that I can quote?

68+

1.8. Q. How does the Python version numbering scheme work?

68696970

2. Python in the real world

7071

2.1. Q. How many people are using Python?

7172

2.2. Q. Have any significant projects been done in Python?

7273

2.3. Q. Are there any commercial projects going on using Python?

73-

2.4. Q. What new developments are expected for Python in the future?

74-

2.5. Q. How stable is Python?

75-

2.6. Q. Any more future plans?

74+

2.4. Q. How stable is Python?

75+

2.5. Q. What new developments are expected for Python in the future?

76767777

3. Building Python

7878

3.1. Q. I have trouble building the md5 module and/or finding the file

@@ -82,7 +82,8 @@ Here's an overview of the questions per chapter:

8282

operations, but when playing with floating point operations I cannot

8383

find anything wrong with them.

8484

3.4. Q. I get an OverflowError on evaluating 2*2. What is going on?

85-

3.5. Q. Trouble building Python 0.9.9 on platform X.

85+

3.5. Q. Trouble building Python 0.9.9 or earlier on platform X.

86+

3.6. Q. Trouble building Python 1.0.0 on platform X.

86878788

4. Programming in Python

8889

4.1. Q. Can I create an object class with some methods implemented in

@@ -116,7 +117,7 @@ Here's an overview of the questions per chapter:

116117

6.3. Q. Why isn't there a switch or case statement in Python?

117118118119

7. Using Python on non-UNIX platforms

119-

7.1. Q. Where's the DOS version of 0.9.9?

120+

7.1. Q. Where's the DOS version of 1.0.0?

120121

7.2. Q. Is there a Windows version of Python?

121122

7.3. Q. I have the Mac or DOS version but it appears to be only a binary.

122123

Where's the library?

@@ -168,7 +169,7 @@ anonymous ftp from ftp.cwi.nl [192.16.184.180] in the directory

168169

tar file containing the complete C source, LaTeX documentation, Python

169170

library modules, example programs, and several useful pieces of freely

170171

distributable software. This will compile and run out of the box on

171-

most UNIX platforms. Currently <version> is 0.9.9. (See section 7

172+

most UNIX platforms. Currently <version> is 1.0.0. (See section 7

172173

for non-UNIX information.)

173174174175

1.4. Q. How do I get documentation on Python?

@@ -178,7 +179,7 @@ anonymous ftp from ftp.cwi.nl [192.16.184.180] in the directory

178179

/pub/python, with filename pythondoc-ps<version>.tar.Z. It is a

179180

compressed tar file containing PostScript files of the reference

180181

manual, the library manual, and the tutorial. Currently <version> is

181-

0.9.9. (Note that the library manual is the most important one of the

182+

1.0.0. (Note that the library manual is the most important one of the

182183

set, as much of Python's power stems from the standard or built-in

183184

types, functions and modules, all of which are described here.)

184185

PostScript for a high-level description of Python is in the file

@@ -194,7 +195,7 @@ ftp.wustl.edu 128.252.135.4 /graphics/graphics/sgi-stuff/python

194195

ftp.funet.fi 128.214.6.100 /pub/languages/python (old?)

195196

ftp.fu-berlin.de 130.133.4.50 /pub/unix/languages/python (python* only)

196197197-

Or try archie on e.g. python0.9.9.tar.Z to locate the nearest copy of

198+

Or try archie on e.g. python1.0.0.tar.Z to locate the nearest copy of

198199

that version...

199200200201

1.5. Q. Is there a newsgroup or mailing list devoted to Python?

@@ -237,6 +238,16 @@ presentation can be found in the ftp directory mentioned a few

237238

questions earlier, with filenames nluug-paper.ps and nluug-slides.ps,

238239

respectively.

239240241+

1.8. Q. How does the Python version numbering scheme work?

242+243+

A. Python versions are numbered A.B.C. A is the major version number

244+

-- it is only incremented for major changes in functionality or source

245+

structure. B is the minor version number, incremented for less

246+

earth-shattering changes to a release. C is the patchlevel -- it is

247+

incremented for each new release. Note that in the past, patches have

248+

added significant changes; in fact the changeover from 0.9.9 to 1.0.0

249+

was the first time that either A or B changed!

250+240251241252

2. Python in the real world

242253

===========================

@@ -276,36 +287,28 @@ consortium supported by the European Committee's ESPRIT program and

276287

consisting of Bull, CWI and some other European companies. Contact:

277288

Ivan Herman <ivan@cwi.nl>.

278289279-

2.4. Q. What new developments are expected for Python in the future?

280-281-

A. I am almost ready to release version 1.0.0 -- it should be out by

282-

the end of January 1994. It will have some new functionality and

283-

bugfixes and be portable to more platforms. The directory tree

284-

structure and build procedure will be radically different -- almost

285-

all configuration is now done automatically, using GNU autoconf.

286-

User-visible changes include: double-quoted strings, functional

287-

programming operations (lambda, map, filter, reduce -- all evaluated

288-

eagerly), exec becomes a statement, str() is customizable through

289-

__str__ (used by print). The originally planned grand renaming scheme

290-

will not be implemented because of lack of time. A beta version can

291-

be ftp'ed from the usual sites, file python1.0.0beta.tar.Z.

292-293-

2.5. Q. How stable is Python?

290+

2.4. Q. How stable is Python?

294291295-

A. Very stable. While the current version number (0.9.9) would

292+

A. Very stable. While the current version number (1.0.0) would

296293

suggest it is in the early stages of development, in fact new, stable

297-

releases have been coming out every 3-6 months for the past three years.

294+

releases (numbered 0.9.x) have been coming out roughly every 3 to 6

295+

months for the past four years.

298296299-

2.6. Q. Any more future plans?

297+

2.5. Q. What new developments are expected for Python in the future?

300298301-

A. Without warranty that any of this will actually be realized: I am

299+

A. Without warranty that any of this will actually be realized: I am

302300

currently thinking about mechanisms for built-in on-line help and a

303-

switch/case statement. There are also some people (independently)

304-

working on a windowing interface based on STDWIN but with the power

305-

and ease of use of the average modern widget set. I still hope to get

306-

some help in producing a Windows version. It would be nice if there

307-

were a window-based class browser (Someone at CWI has contributed one

308-

using Motif but it needs some work).

301+

switch/case statement. A pthreads interface has been contributed

302+

which I would like to merge into the latest release. The X interface

303+

needs improving. There are also some people (independently) working

304+

on a windowing interface based on STDWIN but with the power and ease

305+

of use of the average modern widget set. I still hope to get some

306+

help in producing a Windows version. It would be nice if there were a

307+

window-based class browser (Someone at CWI has contributed one using

308+

Motif but it needs some work). Also: improved support for embedding

309+

Python in other applications, e.g. by renaming most global symbols to

310+

have a "Py" prefix and providing more documentation and threading

311+

support.

309312310313311314

3. Building Python

@@ -354,27 +357,13 @@ from int_mul:

354357

You should also include <limits.h> and replace the constant 32 by

355358

LONG_BIT in int_[lr]shift.

356359357-

3.5. Q. Trouble building Python 0.9.9 on platform X.

358-359-

A. In the bootstrap phase (before you have built the first running

360-

interpreter), make sure the -D settings in the Makefile are correct

361-

for your system. In particular you may have to add or delete -DSYSV.

362-

It may also be necessary to change the flags used to compile

363-

posixmodule.c and timemodule.c; e.g. on AIX the following are

364-

necessary:

365-

posixmodule.c: -DHAVE_STDLIB -DNOALTTZ -DOLDTZ -Dunix -DSYSV -DDO_TIMES

366-

timemodule.c: -DHAVE_STDLIB -DNOALTTZ -DOLDTZ -Uunix -DSYSV -DBSD_TIME

367-

(Note the -Uunix for timemodule!)

368-

Those switches for timemodule also require that the

369-

#ifdef unix

370-

#ifdef BSD_TIME

371-

just above:

372-

static long

373-

millitimer()

374-

( and below the "#endif /* macintosh */" version of millitimer

375-

be changed to:

376-

#if defined(unix) | defined(BSD_TIME)

377-

#ifdef BSD_TIME

360+

3.5. Q. Trouble building Python 0.9.9 or earlier on platform X.

361+362+

Please convert to Python 1.0.0 -- it is much more portable.

363+364+

3.6. Q. Trouble building Python 1.0.0 on platform X.

365+366+

A. Please email the details to <guido@cwi.nl> and I'll look into it.

378367379368380369

4. Programming in Python

@@ -603,12 +592,12 @@ to do range tests.

603592

7. Using Python on non-UNIX platforms

604593

=====================================

605594606-

7.1. Q. Where's the DOS version of 0.9.9?

595+

7.1. Q. Where's the DOS version of 1.0.0?

607596608-

A. I hope it will be coming soon. A friend with a DOS machine and a

609-

compiler has volunteered to build it but he's very busy. Until then,

610-

you will have to make do with the 0.9.8 version (which isn't so bad,

611-

actually).

597+

A. I hope it will be coming soon. Our institute has finally acquired

598+

a 486 PC with a decent C compiler, now all I have to do is to learn

599+

how to use it :-) Until then, you will have to make do with the 0.9.8

600+

version (which isn't so bad, actually).

612601613602

7.2. Q. Is there a Windows version of Python?

614603

@@ -620,7 +609,7 @@ Where's the library?

620609621610

A. You still need to copy the files from the distribution directory

622611

"python/lib" to your system. If you don't have the full distribution,

623-

you can ftp the file pythonlib0.9.9.tar.Z from site ftp.cwi.nl,

612+

you can ftp the file pythonlib1.0.0.tar.Z from site ftp.cwi.nl,

624613

directory /pub/python; this is a subset of the distribution containing

625614

just those file.

626615

Read the original on github.com ↗