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

Skip to content

Commit c30e95f

Browse files
committed
Moved 1.3 news to HISTORY; put some 1.4 news in NEWS
1 parent 0d20cfa commit c30e95f

2 files changed

Lines changed: 167 additions & 145 deletions

File tree

Misc/HISTORY

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,161 @@ This file contains the release messages for previous Python releases
66
read on you go back to the dark ages of Python's history.
77

88

9+
=====================================
10+
==> Release 1.3 (13 October 1995) <==
11+
=====================================
12+
13+
Major change
14+
============
15+
16+
Two words: Keyword Arguments. See the first section of Chapter 12 of
17+
the Tutorial.
18+
19+
(The rest of this file is textually the same as the remaining sections
20+
of that chapter.)
21+
22+
23+
Changes to the WWW and Internet tools
24+
=====================================
25+
26+
The "htmllib" module has been rewritten in an incompatible fashion.
27+
The new version is considerably more complete (HTML 2.0 except forms,
28+
but including all ISO-8859-1 entity definitions), and easy to use.
29+
Small changes to "sgmllib" have also been made, to better match the
30+
tokenization of HTML as recognized by other web tools.
31+
32+
A new module "formatter" has been added, for use with the new
33+
"htmllib" module.
34+
35+
The "urllib"and "httplib" modules have been changed somewhat to allow
36+
overriding unknown URL types and to support authentication. They now
37+
use "mimetools.Message" instead of "rfc822.Message" to parse headers.
38+
The "endrequest()" method has been removed from the HTTP class since
39+
it breaks the interaction with some servers.
40+
41+
The "rfc822.Message" class has been changed to allow a flag to be
42+
passed in that says that the file is unseekable.
43+
44+
The "ftplib" module has been fixed to be (hopefully) more robust on
45+
Linux.
46+
47+
Several new operations that are optionally supported by servers have
48+
been added to "nntplib": "xover", "xgtitle", "xpath" and "date".
49+
50+
Other Language Changes
51+
======================
52+
53+
The "raise" statement now takes an optional argument which specifies
54+
the traceback to be used when printing the exception's stack trace.
55+
This must be a traceback object, such as found in "sys.exc_traceback".
56+
When omitted or given as "None", the old behavior (to generate a stack
57+
trace entry for the current stack frame) is used.
58+
59+
The tokenizer is now more tolerant of alien whitespace. Control-L in
60+
the leading whitespace of a line resets the column number to zero,
61+
while Control-R just before the end of the line is ignored.
62+
63+
Changes to Built-in Operations
64+
==============================
65+
66+
For file objects, "f.read(0)" and "f.readline(0)" now return an empty
67+
string rather than reading an unlimited number of bytes. For the
68+
latter, omit the argument altogether or pass a negative value.
69+
70+
A new system variable, "sys.platform", has been added. It specifies
71+
the current platform, e.g. "sunos5" or "linux1".
72+
73+
The built-in functions "input()" and "raw_input()" now use the GNU
74+
readline library when it has been configured (formerly, only
75+
interactive input to the interpreter itself was read using GNU
76+
readline). The GNU readline library provides elaborate line editing
77+
and history. The Python debugger ("pdb") is the first beneficiary of
78+
this change.
79+
80+
Two new built-in functions, "globals()" and "locals()", provide access
81+
to dictionaries containming current global and local variables,
82+
respectively. (These augment rather than replace "vars()", which
83+
returns the current local variables when called without an argument,
84+
and a module's global variables when called with an argument of type
85+
module.)
86+
87+
The built-in function "compile()" now takes a third possible value for
88+
the kind of code to be compiled: specifying "'single'" generates code
89+
for a single interactive statement, which prints the output of
90+
expression statements that evaluate to something else than "None".
91+
92+
Library Changes
93+
===============
94+
95+
There are new module "ni" and "ihooks" that support importing modules
96+
with hierarchical names such as "A.B.C". This is enabled by writing
97+
"import ni; ni.ni()" at the very top of the main program. These
98+
modules are amply documented in the Python source.
99+
100+
The module "rexec" has been rewritten (incompatibly) to define a class
101+
and to use "ihooks".
102+
103+
The "string.split()" and "string.splitfields()" functions are now the
104+
same function (the presence or absence of the second argument
105+
determines which operation is invoked); similar for "string.join()"
106+
and "string.joinfields()".
107+
108+
The "Tkinter" module and its helper "Dialog" have been revamped to use
109+
keyword arguments. Tk 4.0 is now the standard. A new module
110+
"FileDialog" has been added which implements standard file selection
111+
dialogs.
112+
113+
The optional built-in modules "dbm" and "gdbm" are more coordinated
114+
--- their "open()" functions now take the same values for their "flag"
115+
argument, and the "flag" and "mode" argument have default values (to
116+
open the database for reading only, and to create the database with
117+
mode "0666" minuse the umask, respectively). The memory leaks have
118+
finally been fixed.
119+
120+
A new dbm-like module, "bsddb", has been added, which uses the BSD DB
121+
package's hash method.
122+
123+
A portable (though slow) dbm-clone, implemented in Python, has been
124+
added for systems where none of the above is provided. It is aptly
125+
dubbed "dumbdbm".
126+
127+
The module "anydbm" provides a unified interface to "bsddb", "gdbm",
128+
"dbm", and "dumbdbm", choosing the first one available.
129+
130+
A new extension module, "binascii", provides a variety of operations
131+
for conversion of text-encoded binary data.
132+
133+
There are three new or rewritten companion modules implemented in
134+
Python that can encode and decode the most common such formats: "uu"
135+
(uuencode), "base64" and "binhex".
136+
137+
A module to handle the MIME encoding quoted-printable has also been
138+
added: "quopri".
139+
140+
The parser module (which provides an interface to the Python parser's
141+
abstract syntax trees) has been rewritten (incompatibly) by Fred
142+
Drake. It now lets you change the parse tree and compile the result!
143+
144+
The \code{syslog} module has been upgraded and documented.
145+
146+
Other Changes
147+
=============
148+
149+
The dynamic module loader recognizes the fact that different filenames
150+
point to the same shared library and loads the library only once, so
151+
you can have a single shared library that defines multiple modules.
152+
(SunOS / SVR4 style shared libraries only.)
153+
154+
Jim Fulton's ``abstract object interface'' has been incorporated into
155+
the run-time API. For more detailes, read the files
156+
"Include/abstract.h" and "Objects/abstract.c".
157+
158+
The Macintosh version is much more robust now.
159+
160+
Numerous things I have forgotten or that are so obscure no-one will
161+
notice them anyway :-)
162+
163+
9164
===================================
10165
==> Release 1.2 (13 April 1995) <==
11166
===================================

Misc/NEWS

Lines changed: 12 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,20 @@
1-
=====================================
2-
==> Release 1.3 (13 October 1995) <==
3-
=====================================
1+
======================================
2+
==> Release 1.4 (sometime 3Q 1996) <==
3+
======================================
44

5-
Major change
6-
============
5+
XXX This file still has to be updated!
76

8-
Two words: Keyword Arguments. See the first section of Chapter 12 of
9-
the Tutorial.
7+
Some highlights:
108

11-
(The rest of this file is textually the same as the remaining sections
12-
of that chapter.)
9+
- "make install" overhaul to install everything and use a version number
1310

11+
- new builtin modules operator, errno
1412

15-
Changes to the WWW and Internet tools
16-
=====================================
13+
- changes needed by Numeric Python extensions:
1714

18-
The "htmllib" module has been rewritten in an incompatible fashion.
19-
The new version is considerably more complete (HTML 2.0 except forms,
20-
but including all ISO-8859-1 entity definitions), and easy to use.
21-
Small changes to "sgmllib" have also been made, to better match the
22-
tokenization of HTML as recognized by other web tools.
15+
- x[lo:hi:stride]
16+
- x[a, b, c]
17+
- x[a, ..., z]
2318

24-
A new module "formatter" has been added, for use with the new
25-
"htmllib" module.
19+
plus "ellipses" and "slice" objects
2620

27-
The "urllib"and "httplib" modules have been changed somewhat to allow
28-
overriding unknown URL types and to support authentication. They now
29-
use "mimetools.Message" instead of "rfc822.Message" to parse headers.
30-
The "endrequest()" method has been removed from the HTTP class since
31-
it breaks the interaction with some servers.
32-
33-
The "rfc822.Message" class has been changed to allow a flag to be
34-
passed in that says that the file is unseekable.
35-
36-
The "ftplib" module has been fixed to be (hopefully) more robust on
37-
Linux.
38-
39-
Several new operations that are optionally supported by servers have
40-
been added to "nntplib": "xover", "xgtitle", "xpath" and "date".
41-
42-
Other Language Changes
43-
======================
44-
45-
The "raise" statement now takes an optional argument which specifies
46-
the traceback to be used when printing the exception's stack trace.
47-
This must be a traceback object, such as found in "sys.exc_traceback".
48-
When omitted or given as "None", the old behavior (to generate a stack
49-
trace entry for the current stack frame) is used.
50-
51-
The tokenizer is now more tolerant of alien whitespace. Control-L in
52-
the leading whitespace of a line resets the column number to zero,
53-
while Control-R just before the end of the line is ignored.
54-
55-
Changes to Built-in Operations
56-
==============================
57-
58-
For file objects, "f.read(0)" and "f.readline(0)" now return an empty
59-
string rather than reading an unlimited number of bytes. For the
60-
latter, omit the argument altogether or pass a negative value.
61-
62-
A new system variable, "sys.platform", has been added. It specifies
63-
the current platform, e.g. "sunos5" or "linux1".
64-
65-
The built-in functions "input()" and "raw_input()" now use the GNU
66-
readline library when it has been configured (formerly, only
67-
interactive input to the interpreter itself was read using GNU
68-
readline). The GNU readline library provides elaborate line editing
69-
and history. The Python debugger ("pdb") is the first beneficiary of
70-
this change.
71-
72-
Two new built-in functions, "globals()" and "locals()", provide access
73-
to dictionaries containming current global and local variables,
74-
respectively. (These augment rather than replace "vars()", which
75-
returns the current local variables when called without an argument,
76-
and a module's global variables when called with an argument of type
77-
module.)
78-
79-
The built-in function "compile()" now takes a third possible value for
80-
the kind of code to be compiled: specifying "'single'" generates code
81-
for a single interactive statement, which prints the output of
82-
expression statements that evaluate to something else than "None".
83-
84-
Library Changes
85-
===============
86-
87-
There are new module "ni" and "ihooks" that support importing modules
88-
with hierarchical names such as "A.B.C". This is enabled by writing
89-
"import ni; ni.ni()" at the very top of the main program. These
90-
modules are amply documented in the Python source.
91-
92-
The module "rexec" has been rewritten (incompatibly) to define a class
93-
and to use "ihooks".
94-
95-
The "string.split()" and "string.splitfields()" functions are now the
96-
same function (the presence or absence of the second argument
97-
determines which operation is invoked); similar for "string.join()"
98-
and "string.joinfields()".
99-
100-
The "Tkinter" module and its helper "Dialog" have been revamped to use
101-
keyword arguments. Tk 4.0 is now the standard. A new module
102-
"FileDialog" has been added which implements standard file selection
103-
dialogs.
104-
105-
The optional built-in modules "dbm" and "gdbm" are more coordinated
106-
--- their "open()" functions now take the same values for their "flag"
107-
argument, and the "flag" and "mode" argument have default values (to
108-
open the database for reading only, and to create the database with
109-
mode "0666" minuse the umask, respectively). The memory leaks have
110-
finally been fixed.
111-
112-
A new dbm-like module, "bsddb", has been added, which uses the BSD DB
113-
package's hash method.
114-
115-
A portable (though slow) dbm-clone, implemented in Python, has been
116-
added for systems where none of the above is provided. It is aptly
117-
dubbed "dumbdbm".
118-
119-
The module "anydbm" provides a unified interface to "bsddb", "gdbm",
120-
"dbm", and "dumbdbm", choosing the first one available.
121-
122-
A new extension module, "binascii", provides a variety of operations
123-
for conversion of text-encoded binary data.
124-
125-
There are three new or rewritten companion modules implemented in
126-
Python that can encode and decode the most common such formats: "uu"
127-
(uuencode), "base64" and "binhex".
128-
129-
A module to handle the MIME encoding quoted-printable has also been
130-
added: "quopri".
131-
132-
The parser module (which provides an interface to the Python parser's
133-
abstract syntax trees) has been rewritten (incompatibly) by Fred
134-
Drake. It now lets you change the parse tree and compile the result!
135-
136-
The \code{syslog} module has been upgraded and documented.
137-
138-
Other Changes
139-
=============
140-
141-
The dynamic module loader recognizes the fact that different filenames
142-
point to the same shared library and loads the library only once, so
143-
you can have a single shared library that defines multiple modules.
144-
(SunOS / SVR4 style shared libraries only.)
145-
146-
Jim Fulton's ``abstract object interface'' has been incorporated into
147-
the run-time API. For more detailes, read the files
148-
"Include/abstract.h" and "Objects/abstract.c".
149-
150-
The Macintosh version is much more robust now.
151-
152-
Numerous things I have forgotten or that are so obscure no-one will
153-
notice them anyway :-)

0 commit comments

Comments
 (0)