|
1 | | -This is Python release 1.5 beta 2 |
2 | | -================================== |
| 1 | +This is Python release 1.5 |
| 2 | +========================== |
3 | 3 |
|
4 | | -The official release date for this version is Friday, December 12, |
5 | | -1997. |
| 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). |
6 | 6 |
|
7 | 7 |
|
8 | 8 | What's new in this release? |
@@ -76,60 +76,34 @@ Misc/NEWS. Some highlights: |
76 | 76 | defined by Python now have a "Py" or "_Py" prefix, and the same is |
77 | 77 | true for most macros and typedefs. |
78 | 78 |
|
79 | | -If you previously downloaded 1.5b1, here are the most relevant changes |
| 79 | +If you previously downloaded 1.5b2, here are the most relevant changes |
80 | 80 | since then (of course all known bugs have been fixed, leaks plugged, |
81 | | -and some documentation has been added). The full list of changes |
82 | | -since 1.5b1 is presented at the end of the Misc/NEWS file. |
83 | | - |
84 | | - - Thanks to all who contributed doc strings for library modules! |
85 | | - |
86 | | - - The portability problems caused by indented preprocessor commands |
87 | | - and C++ style comments should be gone now. |
88 | | - |
89 | | - - Lots of improvements to python-mode.el again. |
90 | | - |
91 | | - - Changes in pickle.py and cPickle.c: when unpickling an instance of |
92 | | - a class that doesn't define the __getinitargs__() method, the |
93 | | - __init__() constructor is no longer called. This makes a much |
94 | | - larger group of classes picklable by default, but may occasionally |
95 | | - change semantics. To force calling __init__() on unpickling, define |
96 | | - a __getinitargs__() method. Other changes too, in particular |
97 | | - cPickle now handles classes defined in packages correctly. The |
98 | | - same change applies to copying instances with copy.py. |
99 | | - |
100 | | - - Locale support in the "re" (Perl regular expressions) module. Use |
101 | | - the flag re.L (or re.LOCALE) to enable locale-specific matching |
102 | | - rules for \w and \b. The in-line syntax for this flag is (?L). |
103 | | - |
104 | | - - The built-in function isinstance(x, y) now also succeeds when y is |
105 | | - a type object and type(x) is y. |
106 | | - |
107 | | - - repr() and str() of class and instance objects now reflect the |
108 | | - package/module in which the class is defined. |
109 | | - |
110 | | - - Module "ni" has been removed. (If you really need it, it's been |
111 | | - renamed to "ni1". Let me know if this causes any problems for you. |
112 | | - Package authors are encouraged to write __init__.py files that |
113 | | - support both ni and 1.5 package support, so the same version can be |
114 | | - used with Python 1.4 as well as 1.5.) |
115 | | - |
116 | | - - The thread module is now automatically included when threads are |
117 | | - configured. (You must remove it from your existing Setup file, |
118 | | - since it is now in its own Setup.thread file.) |
119 | | - |
120 | | - - New command line option "-x" to skip the first line of the script; |
121 | | - handy to make executable scripts on non-Unix platforms. |
122 | | - |
123 | | - - In importdl.c, add the RTLD_GLOBAL to the dlopen() flags. I |
124 | | - haven't checked how this affects things, but it should make symbols |
125 | | - in one shared library available to the next one. |
126 | | - |
127 | | - - The Windows configuration adds a new main program, "pythonw", and |
128 | | - registers a new extension, ".pyw" that invokes this. This is a |
129 | | - standard Python interpreter that does not pop up a console window; |
130 | | - handy for pure Tkinter applications. All output to the original |
131 | | - stdout and stderr is lost; reading from the original stdin yields |
132 | | - EOF. |
| 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). |
133 | 107 |
|
134 | 108 |
|
135 | 109 | If you don't read instructions |
|
0 commit comments