Don't reference removed files in Makefile
[python/dscho.git] / Misc / NEWS
blob3515d8f6f19ace8d23001e563f1d1f1acc7edaee
1 ===================================
2 ==> Release 1.2 <==
3 ===================================
6 - Virtually all known bugs have been fixed.  For example the
7 pow(2,2,3L) bug on Linux has been fixed.  Also the re-entrancy
8 problems with __del__ have been fixed.
10 - Most known memory leaks have been fixed.
12 - Phase 2 of the Great Renaming has been executed.  The header files
13 now use the new names (PyObject instead of object, etc.).  The linker
14 also sees the new names.  Most source files still use the old names,
15 by virtue of the rename2.h header file.  If you include Python.h, you
16 only see the new names.  Dynamically linked modules have to be
17 recompiled.
19 - The hooks for implementing "safe-python" (better called "restricted
20 execution") are in place.  Specifically, the import statement is
21 implemented by calling the built-in function __import__, and the
22 built-in names used in a particular scope are taken from the
23 dictionary __builtins__ in that scope's global dictionary.  See also
24 the new module rexec.py.
26 - The import statement now supports the syntax "import a.b.c" and
27 "from a.b.c import name".  No meaningful implementation exists, but
28 one can be prototyped by replacing the built-in __import__ function.
30 - All machinery used by the import statement (or the built-in
31 __import__ function) is now exposed through the new built-in module
32 "imp".  All dynamic loading machinery is moved to the new file
33 importdl.c.
35 - Persistent storage is supported through the use of the module
36 "pickle" and "shelve" (implemented in Python).  Read the .py files for
37 more info.  There's also a "copy" module implementing deepcopy and
38 normal (shallow) copy operations.
40 - Documentation strings for many objects types are accessible through
41 the __doc__ attribute.  Modules, classes and functions support special
42 syntax to initialize the __doc__ attribute: if the first statement
43 consists of just a string literal, that string literal becomes the
44 value of the __doc__ attribute.  The default __doc__ attribute is
45 None.  Documentation strings are also supported for built-in
46 functions, types and modules; however this feature hasn't been widely
47 used yet.  See the 'new' module for an example.
49 - The __coerce__ and __cmp__ methods for user-defined classes once
50 again work as expected.  As an example, there's a new standard class
51 Complex in the library.
53 - The functions posix.popen() and posix.fdopen() now have an optional
54 third argument to specify the buffer size, and default their second
55 (mode) argument to 'r' -- in analogy to the builtin open() function.
57 - Improved support for the Apple Macintosh, e.g. interfaces to (a few)
58 resource mananger functions, get/set file type and creator, gestalt,
59 sound manager, speech manager, MacTCP, comm toolbox, and the think C
60 console library.  (Sorry, no Mac binary yet.  Will try to produce one
61 shortly, plus instructions on how to compile with THINK C 6.0.)
63 - Used autoconf 2.0 to generate the configure script.  Adapted
64 configure.in to use the new features in autoconf 2.0.
66 - It should now build on the NeXT without intervention, even on the
67 3.3 Sparc pre-release.
69 - __import__ is now called with 4 arguments:
70 (modulename, globals, locals, fromlist)
72 - Characters passed to isspace() and friends are masked to nonnegative
73 values
75 - Correctly compute pow(-3.0, 3)
77 - Fix portability problems with getopt (configure now checks for a
78 non-GNU getopt)
80 - Don't add frozenmain.o to libPython.a
82 - Exceptions can now be classes
84 - The socket module exports a long list of socket related symbols
86 - Lots of Mac specific changes (this area of the source is not
87 completed!)
89 - When a module object is deleted, it clears out its own dictionary
90 (this fixes a circularity in the references between functions and
91 their global dictionary)
93 - Changed the error handling by [new]getargs() e.g. for "O&"
95 - Dynamic loading of modules using shared libraries is supported for
96 several new platforms
98 - Support "O&" in mkvalue()
100 - Extension to findmethod(): findmethodinchain() (where a chain is a
101 linked list of methodlist arrays)
103 - Callable() function is now public
106 Known bugs still remaining:
107 ---------------------------
109 - There's still a memory leak in threads; bigger when
110 thread.exit_thread() is used
113 --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
114 URL:  <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>