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

Skip to content

Commit 462a549

Browse files
committed
README ready for 1.5.1
1 parent cfb798e commit 462a549

1 file changed

Lines changed: 9 additions & 99 deletions

File tree

README

Lines changed: 9 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,19 @@
1-
This is Python release 1.5
2-
==========================
1+
This is Python release 1.5.1
2+
============================
33

4-
This version is officially released on Wednesday, December 31, 1997.
5-
It doesn't differ very much from 1.5b2 (released on Dec. 12).
4+
This version is officially released on Tuesday, April 14, 1997. It is
5+
mostly a bugfix release on Python 1.5.
66

77

88
What's new in this release?
99
---------------------------
1010

11-
There's a loooong list of changes since release 1.4 in the file
12-
Misc/NEWS. Some highlights:
11+
See the Misc/NEWS file. Nothing spectacular this time, only small
12+
changes (as you would expect from a release called "1.5.1").
1313

14-
- It's much faster (almost twice for the Lib/test/pystone.py
15-
benchmark.)
16-
17-
- There is now an assert statement: ``assert <condition>'' or
18-
``assert <condition>, <errormessage>''. It raises AssertionError if
19-
the condition evaluates to false. The default error message is
20-
empty; the source text of the assertion statement is printed as part
21-
of the traceback.
22-
23-
- There is now built-in support for importing hierarchical module
24-
names (e.g. "import spam.ham.eggs"); ni is declared obsolete. Note
25-
that the built-in package support is somewhat simpler (no __ and
26-
__domain__) and differs in one crucial aspect: __init__.py is
27-
required, and loaded in the package's namespace instead of as a
28-
submodule. For more information, see
29-
http://www.python.org/doc/essays/packages.html.
30-
31-
- The new "re" module (Perl style regular expressions) is here. It
32-
is based on Philip Hazel's pcre code; the Python interfaces were put
33-
together by Andrew Kuchling, Tim Peters and Jeffrey Ollie. The
34-
regex module is declared obsolete.
35-
36-
- In support of the re module, a new form of string literals is
37-
introduced, "raw strings": e.g. r"\n" is equal to "\\n".
38-
39-
- All standard exceptions and most exceptions defined in standard
40-
extension modules are now classes. Use python -X to revert back to
41-
string exceptions. See
42-
http://www.python.org/doc/essays/stdexceptions.html
43-
for more info.
44-
45-
- Comparisons can now raise exceptions (previously, exceptions
46-
occuring during comparisons were swept under the rug).
47-
48-
- New dictionary methods: .clear(), .copy(), .update(), .get(). The
49-
first two are obvious; d1.update(d2) is equivalent to the for loop
50-
``for k in d2.keys(): d1[k] = d2[k]''; and d.get(k) returns d[k] if
51-
it exists and None (or the optional second argument) if not.
52-
53-
- There is a new regression test harness, which tests many more
54-
modules. (To run the tests, do "import test.autotest".)
55-
56-
- The interpreter is much smarter about the initial value for
57-
sys.path; you can control it easier using $PYTHONHOME (see the usage
58-
message, e.g. try ``python -h''). In most situations, the
59-
interpreter can be installed at an arbitrary location without having
60-
to recompile.
61-
62-
- The build process now builds a single library (libpython1.5.a)
63-
which contains everything except for the main() entry point. This
64-
makes life much easier for applications that embed Python.
65-
66-
- There is much better support for embedding, including threads,
67-
multiple interpreters(!), uninitialization, and access to the global
68-
interpreter lock.
69-
70-
- There is a -O option that removes SET_LINENO instructions, assert
71-
statements and code prefixed with ``if __debug__: ...''. (It still
72-
only makes a few percent difference, so don't get all worked up
73-
about this.)
74-
75-
- The Grand Renaming is completed: all linker-visible symbols
76-
defined by Python now have a "Py" or "_Py" prefix, and the same is
77-
true for most macros and typedefs.
78-
79-
If you previously downloaded 1.5b2, here are the most relevant changes
80-
since then (of course all known bugs have been fixed, leaks plugged,
81-
and quite a bit of documentation has been added -- including doc
82-
strings here and there). The full list of changes since 1.5b2 is
83-
presented at the end of the Misc/NEWS file.
84-
85-
- Thanks to all who contributed doc strings or other documentation!
86-
87-
- Many small improvements to the quality of the documentation, both
88-
PostScript, HTML and even Emacs info (library manual only).
89-
90-
- New module telnetlib.py.
91-
92-
- New tool versioncheck.
93-
94-
- Two bugs with ftp URLs fixed in urllib.py.
95-
96-
- Fixed infinite recursion when printing __builtins__.
97-
98-
- A bunch of small problems fixed in Tkinter.py.
99-
100-
- Ported zlibmodule.c and bsddbmodule.c to NT.
101-
102-
- Better NT support in tempfile.py.
103-
104-
- Fixed 4294967296==0.
105-
106-
- Latest re and pcre modules (versions of Dec. 22).
14+
One big organizational change: the documentation sources have been
15+
unbundled. We will release a version of the Doc subtree separately,
16+
but probably not simultaneously with the source release.
10717

10818

10919
If you don't read instructions

0 commit comments

Comments
 (0)