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

Skip to content

Commit 71dcc3e

Browse files
author
Michael W. Hudson
committed
A few random updates to make things less horrifyingly out of date.
Delete some advice that can never, ever have worked. There are a couple of XXX comments for bits I don't know how to update. It would be really good not to release Python 2.5 with these in place :) This file is way too big. There's basically no chance of it staying up to date.
1 parent 2b0d058 commit 71dcc3e

1 file changed

Lines changed: 44 additions & 51 deletions

File tree

README

Lines changed: 44 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ What's new in this release?
3535

3636
See the file "Misc/NEWS".
3737

38+
3839
If you don't read instructions
3940
------------------------------
4041

@@ -45,30 +46,29 @@ current directory and when it finishes, type "make". This creates an
4546
executable "./python"; to install in /usr/local, first do "su root"
4647
and then "make install".
4748

48-
The section `Build instructions' below is still recommended reading,
49-
especially the part on customizing Modules/Setup.
49+
The section `Build instructions' below is still recommended reading.
5050

5151

5252
What is Python anyway?
5353
----------------------
5454

55-
Python is an interpreted object-oriented programming language suitable
56-
(amongst other uses) for distributed application development,
57-
scripting, numeric computing and system testing. Python is often
58-
compared to Tcl, Perl, Java, JavaScript, Visual Basic or Scheme. To
59-
find out more about what Python can do for you, point your browser to
60-
http://www.python.org/.
55+
Python is an interpreted, interactive object-oriented programming
56+
language suitable (amongst other uses) for distributed application
57+
development, scripting, numeric computing and system testing. Python
58+
is often compared to Tcl, Perl, Java, JavaScript, Visual Basic or
59+
Scheme. To find out more about what Python can do for you, point your
60+
browser to http://www.python.org/.
6161

6262

6363
How do I learn Python?
6464
----------------------
6565

6666
The official tutorial is still a good place to start; see
67-
http://www.python.org/doc/ for online and downloadable versions, as
68-
well as a list of other introductions, and reference documentation.
67+
http://docs.python.org/ for online and downloadable versions, as well
68+
as a list of other introductions, and reference documentation.
6969

7070
There's a quickly growing set of books on Python. See
71-
http://www.python.org/cgi-bin/moinmoin/PythonBooks for a list.
71+
www.python.org/moin/PythonBooks for a list.
7272

7373

7474
Documentation
@@ -82,16 +82,17 @@ Python's power is described there, including the built-in data types
8282
and functions!
8383

8484
All documentation is also available online at the Python web site
85-
(http://www.python.org/doc/, see below). It is available online for
85+
(http://docs.python.org/, see below). It is available online for
8686
occasional reference, or can be downloaded in many formats for faster
8787
access. The documentation is available in HTML, PostScript, PDF, and
8888
LaTeX formats; the LaTeX version is primarily for documentation
8989
authors, translators, and people with special formatting requirements.
9090

91-
The best documentation for the new (in Python 2.2) type/class
92-
unification features is Guido's tutorial introduction, at
91+
Unfortunately, new-style classes (new in Python 2.2) have not yet been
92+
integrated into Python's standard documention. A collection of
93+
pointers to what has been written is at:
9394

94-
http://www.python.org/2.2.1/descrintro.html
95+
http://www.python.org/doc/newstyle.html
9596

9697

9798
Web sites
@@ -110,12 +111,12 @@ Newsgroups and Mailing Lists
110111
Read comp.lang.python, a high-volume discussion newsgroup about
111112
Python, or comp.lang.python.announce, a low-volume moderated newsgroup
112113
for Python-related announcements. These are also accessible as
113-
mailing lists: see http://www.python.org/psa/MailingLists.html for an
114-
overview of the many Python-related mailing lists.
114+
mailing lists: see http://www.python.org/community/lists.html for an
115+
overview of these and many other Python-related mailing lists.
115116

116117
Archives are accessible via the Google Groups usenet archive; see
117118
http://groups.google.com/. The mailing lists are also archived, see
118-
http://www.python.org/psa/MailingLists.html for details.
119+
http://www.python.org/community/lists.html for details.
119120

120121

121122
Bug reports
@@ -135,7 +136,7 @@ for patch submission may be found at http://www.python.org/patches/.
135136
If you have a proposal to change Python, it's best to submit a Python
136137
Enhancement Proposal (PEP) first. All current PEPs, as well as
137138
guidelines for submitting a new PEP, are listed at
138-
http://python.sourceforge.net/peps/.
139+
http://www.python.org/peps/.
139140

140141

141142
Questions
@@ -189,19 +190,17 @@ Troubleshooting
189190

190191
See also the platform specific notes in the next section.
191192

192-
If you run into other trouble, see section 3 of the FAQ
193-
(http://www.python.org/cgi-bin/faqw.py or
194-
http://www.python.org/doc/FAQ.html) for hints on what can go wrong,
195-
and how to fix it.
193+
If you run into other trouble, see the FAQ
194+
(http://www.python.org/doc/faq) for hints on what can go wrong, and
195+
how to fix it.
196196

197197
If you rerun the configure script with different options, remove all
198198
object files by running "make clean" before rebuilding. Believe it or
199199
not, "make clean" sometimes helps to clean up other inexplicable
200200
problems as well. Try it before sending in a bug report!
201201

202202
If the configure script fails or doesn't seem to find things that
203-
should be there, inspect the config.log file. When you fix a
204-
configure problem, be sure to remove config.cache!
203+
should be there, inspect the config.log file.
205204

206205
If you get a warning for every file about the -Olimit option being no
207206
longer supported, you can ignore it. There's no foolproof way to know
@@ -227,8 +226,10 @@ compilers from the vendor, or one of the free compilers (gcc).
227226
Unsupported systems
228227
-------------------
229228

229+
XXX This section is out of date!
230+
230231
A number of features are not supported in Python 2.3 anymore. Some
231-
support code is still present, but will be removed in Python 2.4.
232+
support code is still present, but will be removed in Python 2.4.
232233
If you still need to use current Python versions on these systems,
233234
please send a message to [email protected] indicating that you
234235
volunteer to support this system.
@@ -263,12 +264,9 @@ Unix platforms: If your vendor still ships (and you still use) Berkeley DB
263264
bsddb185 bsddbmodule.c
264265

265266
should work. (You may need to add -I, -L or -l flags to direct the
266-
compiler and linker to your include files and libraries.) You can
267-
then force it to be the version people import by adding
267+
compiler and linker to your include files and libraries.)
268268

269-
import bsddb185 as bsddb
270-
271-
in sitecustomize.py.
269+
XXX I think this next bit is out of date:
272270

273271
64-bit platforms: The modules audioop, imageop and rgbimg don't work.
274272
The setup.py script disables them on 64-bit installations.
@@ -295,8 +293,8 @@ Solaris: When using Sun's C compiler with threads, at least on Solaris
295293
When the dynamic loader complains about errors finding shared
296294
libraries, such as
297295

298-
ld.so.1: ./python: fatal: libstdc++.so.5: open failed:
299-
No such file or directory
296+
ld.so.1: ./python: fatal: libstdc++.so.5: open failed:
297+
No such file or directory
300298

301299
you need to first make sure that the library is available on
302300
your system. Then, you need to instruct the dynamic loader how
@@ -314,13 +312,9 @@ Linux: A problem with threads and fork() was tracked down to a bug in
314312
solves the problem. This causes the popen2 test to fail;
315313
problem and solution reported by Pablo Bleyer.
316314

317-
Under Linux systems using GNU libc 2 (aka libc6), the crypt
318-
module now needs the -lcrypt option. The setup.py script
319-
takes care of this automatically.
320-
321315
Red Hat Linux: Red Hat 9 built Python2.2 in UCS-4 mode and hacked
322316
Tcl to support it. To compile Python2.3 with Tkinter, you will
323-
need to pass --enable-unicode=ucs4 flag to ./configure.
317+
need to pass --enable-unicode=ucs4 flag to ./configure.
324318

325319
There's an executable /usr/bin/python which is Python
326320
1.5.2 on most older Red Hat installations; several key Red Hat tools
@@ -367,13 +361,13 @@ HP-UX: When using threading, you may have to add -D_REENTRANT to the
367361
OPT variable in the top-level Makefile; reported by Pat Knight,
368362
this seems to make a difference (at least for HP-UX 10.20)
369363
even though pyconfig.h defines it. This seems unnecessary when
370-
using HP/UX 11 and later - threading seems to work "out of the
364+
using HP/UX 11 and later - threading seems to work "out of the
371365
box".
372366

373-
HP-UX ia64: When building on the ia64 (Itanium) platform using HP's
374-
compiler, some experience has shown that the compiler's
375-
optimiser produces a completely broken version of python
376-
(see http://www.python.org/sf/814976). To work around this,
367+
HP-UX ia64: When building on the ia64 (Itanium) platform using HP's
368+
compiler, some experience has shown that the compiler's
369+
optimiser produces a completely broken version of python
370+
(see http://www.python.org/sf/814976). To work around this,
377371
edit the Makefile and remove -O from the OPT line.
378372

379373
HP PA-RISC 2.0: A recent bug report (http://www.python.org/sf/546117)
@@ -541,7 +535,7 @@ MacOSX: The tests will crash on both 10.1 and 10.2 with SEGV in
541535
do "sudo make install" which installs everything as superuser,
542536
as this may later cause problems when installing distutils-based
543537
additions.
544-
538+
545539
Some people have reported problems building Python after using "fink"
546540
to install additional unix software. Disabling fink (remove all references
547541
to /sw from your .profile or .login) should solve this.
@@ -552,7 +546,7 @@ MacOSX: The tests will crash on both 10.1 and 10.2 with SEGV in
552546
/Library/Frameworks). A framework install is probably needed if you
553547
want to use any Aqua-based GUI toolkit (whether Tkinter, wxPython,
554548
Carbon, Cocoa or anything else).
555-
549+
556550
See Mac/OSX/README for more information on framework builds.
557551

558552
Cygwin: With recent (relative to the time of writing, 2001-12-19)
@@ -767,9 +761,9 @@ Building a shared libpython
767761
---------------------------
768762

769763
Starting with Python 2.3, the majority of the interpreter can be built
770-
into a shared library, which can then be used by the interpreter
764+
into a shared library, which can then be used by the interpreter
771765
executable, and by applications embedding Python. To enable this feature,
772-
configure with --enable-shared.
766+
configure with --enable-shared.
773767

774768
If you enable this feature, the same object files will be used to create
775769
a static library. In particular, the static library will contain object
@@ -1018,7 +1012,7 @@ Modules/getpath.o.
10181012
--with-pydebug: Enable additional debugging code to help track down
10191013
memory management problems. This allows printing a list of all
10201014
live objects when the interpreter terminates.
1021-
1015+
10221016
--with(out)-universal-newlines: enable reading of text files with
10231017
foreign newline convention (default: enabled). In other words,
10241018
any of \r, \n or \r\n is acceptable as end-of-line character.
@@ -1028,6 +1022,7 @@ Modules/getpath.o.
10281022

10291023
--with-tsc: Profile using the Pentium timestamping counter (TSC).
10301024

1025+
10311026
Building for multiple architectures (using the VPATH feature)
10321027
-------------------------------------------------------------
10331028

@@ -1130,9 +1125,7 @@ higher.
11301125
For more Tkinter information, see the Tkinter Resource page:
11311126
http://www.python.org/topics/tkinter/
11321127

1133-
There are demos in the Demo/tkinter directory, in the subdirectories
1134-
guido, matt and www (the matt and guido subdirectories have been
1135-
overhauled to use more recent Tkinter coding conventions).
1128+
There are demos in the Demo/tkinter directory.
11361129

11371130
Note that there's a Python module called "Tkinter" (capital T) which
11381131
lives in Lib/lib-tk/Tkinter.py, and a C module called "_tkinter"

0 commit comments

Comments
 (0)