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

Skip to content

Commit d462f3d

Browse files
committed
added 1.2 news
1 parent 670ded8 commit d462f3d

1 file changed

Lines changed: 141 additions & 0 deletions

File tree

Misc/HISTORY

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,147 @@ 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.2 (13 April 1995) <==
11+
===================================
12+
13+
- Changes to Misc/python-mode.el:
14+
- Wrapping and indentation within triple quote strings should work
15+
properly now.
16+
- `Standard' bug reporting mechanism (use C-c C-b)
17+
- py-mark-block was moved to C-c C-m
18+
- C-c C-v shows you the python-mode version
19+
- a basic python-font-lock-keywords has been added for Emacs 19
20+
font-lock colorizations.
21+
- proper interaction with pending-del and del-sel modes.
22+
- New py-electric-colon (:) command for improved outdenting. Also
23+
py-indent-line (TAB) should handle outdented lines better.
24+
- New commands py-outdent-left (C-c C-l) and py-indent-right (C-c C-r)
25+
26+
- The Library Reference has been restructured, and many new and
27+
existing modules are now documented, in particular the debugger and
28+
the profiler, as well as the persistency and the WWW/Internet support
29+
modules.
30+
31+
- All known bugs have been fixed. For example the pow(2,2,3L) bug on
32+
Linux has been fixed. Also the re-entrancy problems with __del__ have
33+
been fixed.
34+
35+
- All known memory leaks have been fixed.
36+
37+
- Phase 2 of the Great Renaming has been executed. The header files
38+
now use the new names (PyObject instead of object, etc.). The linker
39+
also sees the new names. Most source files still use the old names,
40+
by virtue of the rename2.h header file. If you include Python.h, you
41+
only see the new names. Dynamically linked modules have to be
42+
recompiled. (Phase 3, fixing the rest of the sources, will be
43+
executed gradually with the release later versions.)
44+
45+
- The hooks for implementing "safe-python" (better called "restricted
46+
execution") are in place. Specifically, the import statement is
47+
implemented by calling the built-in function __import__, and the
48+
built-in names used in a particular scope are taken from the
49+
dictionary __builtins__ in that scope's global dictionary. See also
50+
the new (unsupported, undocumented) module rexec.py.
51+
52+
- The import statement now supports the syntax "import a.b.c" and
53+
"from a.b.c import name". No officially supported implementation
54+
exists, but one can be prototyped by replacing the built-in __import__
55+
function. A proposal by Ken Manheimer is provided as newimp.py.
56+
57+
- All machinery used by the import statement (or the built-in
58+
__import__ function) is now exposed through the new built-in module
59+
"imp" (see the library reference manual). All dynamic loading
60+
machinery is moved to the new file importdl.c.
61+
62+
- Persistent storage is supported through the use of the modules
63+
"pickle" and "shelve" (implemented in Python). There's also a "copy"
64+
module implementing deepcopy and normal (shallow) copy operations.
65+
See the library reference manual.
66+
67+
- Documentation strings for many objects types are accessible through
68+
the __doc__ attribute. Modules, classes and functions support special
69+
syntax to initialize the __doc__ attribute: if the first statement
70+
consists of just a string literal, that string literal becomes the
71+
value of the __doc__ attribute. The default __doc__ attribute is
72+
None. Documentation strings are also supported for built-in
73+
functions, types and modules; however this feature hasn't been widely
74+
used yet. See the 'new' module for an example. (Basically, the type
75+
object's tp_doc field contains the doc string for the type, and the
76+
4th member of the methodlist structure contains the doc string for the
77+
method.)
78+
79+
- The __coerce__ and __cmp__ methods for user-defined classes once
80+
again work as expected. As an example, there's a new standard class
81+
Complex in the library.
82+
83+
- The functions posix.popen() and posix.fdopen() now have an optional
84+
third argument to specify the buffer size, and default their second
85+
(mode) argument to 'r' -- in analogy to the builtin open() function.
86+
The same applies to posixfile.open() and the socket method makefile().
87+
88+
- The thread.exit_thread() function now raises SystemExit so that
89+
'finally' clauses are honored and a memory leak is plugged.
90+
91+
- Improved X11 and Motif support, by Sjoerd Mullender. This extension
92+
is being maintained and distributed separately.
93+
94+
- Improved support for the Apple Macintosh, in part by Jack Jansen,
95+
e.g. interfaces to (a few) resource mananger functions, get/set file
96+
type and creator, gestalt, sound manager, speech manager, MacTCP, comm
97+
toolbox, and the think C console library. This is being maintained
98+
and distributed separately.
99+
100+
- Improved version for Windows NT, by Mark Hammond. This is being
101+
maintained and distributed separately.
102+
103+
- Used autoconf 2.0 to generate the configure script. Adapted
104+
configure.in to use the new features in autoconf 2.0.
105+
106+
- It now builds on the NeXT without intervention, even on the 3.3
107+
Sparc pre-release.
108+
109+
- Characters passed to isspace() and friends are masked to nonnegative
110+
values.
111+
112+
- Correctly compute pow(-3.0, 3).
113+
114+
- Fix portability problems with getopt (configure now checks for a
115+
non-GNU getopt).
116+
117+
- Don't add frozenmain.o to libPython.a.
118+
119+
- Exceptions can now be classes. ALl built-in exceptions are still
120+
string objects, but this will change in the future.
121+
122+
- The socket module exports a long list of socket related symbols.
123+
(More built-in modules will export their symbolic constants instead of
124+
relying on a separately generated Python module.)
125+
126+
- When a module object is deleted, it clears out its own dictionary.
127+
This fixes a circularity in the references between functions and
128+
their global dictionary.
129+
130+
- Changed the error handling by [new]getargs() e.g. for "O&".
131+
132+
- Dynamic loading of modules using shared libraries is supported for
133+
several new platforms.
134+
135+
- Support "O&", "[...]" and "{...}" in mkvalue().
136+
137+
- Extension to findmethod(): findmethodinchain() (where a chain is a
138+
linked list of methodlist arrays). The calling interface for
139+
findmethod() has changed: it now gets a pointer to the (static!)
140+
methodlist structure rather than just to the function name -- this
141+
saves copying flags etc. into the (short-lived) method object.
142+
143+
- The callable() function is now public.
144+
145+
- Object types can define a few new operations by setting function
146+
pointers in the type object structure: tp_call defines how an object
147+
is called, and tp_str defines how an object's str() is computed.
148+
149+
9150
===================================
10151
==> Release 1.1.1 (10 Nov 1994) <==
11152
===================================

0 commit comments

Comments
 (0)