Commit 98a2caf9 authored by Guido van Rossum's avatar Guido van Rossum

A few last-minute additions and some rearrangements and corrections.

What's "xlib"?  I took the line that mentioned it out.
parent 3492acfb
...@@ -952,8 +952,7 @@ _tkinter.createfilehandler(). ...@@ -952,8 +952,7 @@ _tkinter.createfilehandler().
- The truncate() method for file objects now works on Windows. - The truncate() method for file objects now works on Windows.
- Py_Initialize() is no longer called when the DLL is loaded. You - Py_Initialize() is no longer called when the DLL is loaded. You
must call it yourself. (And you can't call it twice -- it's a fatal must call it yourself.
error to call it when Python is already initialized.)
- The time module's clock() function now has good precision through - The time module's clock() function now has good precision through
the use of the Win32 API QueryPerformanceCounter(). the use of the Win32 API QueryPerformanceCounter().
...@@ -1101,8 +1100,6 @@ file to buildno1. ...@@ -1101,8 +1100,6 @@ file to buildno1.
- Moved Include/assert.h to Parser/assert.h, which seems to be the - Moved Include/assert.h to Parser/assert.h, which seems to be the
only place where it's needed. only place where it's needed.
- Alas, the thread support for _tkinter didn't work. Withdrew it.
- Tweaked the dictionary lookup code again for some more speed - Tweaked the dictionary lookup code again for some more speed
(Vladimir Marangozov). (Vladimir Marangozov).
...@@ -1263,11 +1260,12 @@ using sys.exc_info(). ...@@ -1263,11 +1260,12 @@ using sys.exc_info().
Also, the command argument can now be either a string (passed to the Also, the command argument can now be either a string (passed to the
shell) or a list of arguments (passed directly to execv). shell) or a list of arguments (passed directly to execv).
- The thread support for _tkinter.c now works. The bad news is that
it requires a modified version of a file in the standard Tcl - Alas, the thread support for _tkinter released with 1.5a3 didn't
distribution, which you must compile with a -I option pointing to the work. It's been rewritten. The bad news is that it now requires a
standard Tcl source tree. For this reason, the thread support is modified version of a file in the standard Tcl distribution, which you
disabled by default. must compile with a -I option pointing to the standard Tcl source
tree. For this reason, the thread support is disabled by default.
- The errno extension module adds two tables: errorcode maps errno - The errno extension module adds two tables: errorcode maps errno
numbers to errno names (e.g. EINTR), and errorcode maps them to numbers to errno names (e.g. EINTR), and errorcode maps them to
...@@ -1336,7 +1334,7 @@ default. ...@@ -1336,7 +1334,7 @@ default.
- The imp module now supports parts of the functionality to implement - The imp module now supports parts of the functionality to implement
import of hierarchical module names. It now supports find_module() import of hierarchical module names. It now supports find_module()
and load_module() for all types of modules. Docstrings have been and load_module() for all types of modules. Docstrings have been
added for those functions in the built-in impo module that are still added for those functions in the built-in imp module that are still
relevant (some old interfaces are obsolete). For a sample relevant (some old interfaces are obsolete). For a sample
implementation of hierarchical module import in Python, see the new implementation of hierarchical module import in Python, see the new
library module knee.py. library module knee.py.
...@@ -1358,8 +1356,6 @@ others are PyObject*s). ...@@ -1358,8 +1356,6 @@ others are PyObject*s).
- The 'p' format in the struct extension module alloded to above is - The 'p' format in the struct extension module alloded to above is
new in 1.5a4. new in 1.5a4.
- The xlib extension module has been debugged and improved.
- The types.py module now uses try-except in a few places to make it - The types.py module now uses try-except in a few places to make it
more likely that it can be imported in restricted mode. Some type more likely that it can be imported in restricted mode. Some type
names are undefined in that case, e.g. CodeType (inaccessible), names are undefined in that case, e.g. CodeType (inaccessible),
...@@ -1409,7 +1405,7 @@ Adding support for a new OS is now a bit more work, but I bet that ...@@ -1409,7 +1405,7 @@ Adding support for a new OS is now a bit more work, but I bet that
- Tools/faqwiz/: New installation instructions show how to maintain - Tools/faqwiz/: New installation instructions show how to maintain
multiple FAQs. Removed bootstrap script from end of faqwiz.py module. multiple FAQs. Removed bootstrap script from end of faqwiz.py module.
Added instructions to bootstrap script, too. Version bumped to 0.8. Added instructions to bootstrap script, too. Version bumped to 0.8.1.
Added <html>...</html> feature suggested by Skip Montanaro. Added Added <html>...</html> feature suggested by Skip Montanaro. Added
leading text for Roulette, default to 'Hit Reload ...'. Fix typo in leading text for Roulette, default to 'Hit Reload ...'. Fix typo in
default SRCDIR. default SRCDIR.
...@@ -1417,3 +1413,10 @@ default SRCDIR. ...@@ -1417,3 +1413,10 @@ default SRCDIR.
- Documentation for the relatively new modules "keyword" and "symbol" - Documentation for the relatively new modules "keyword" and "symbol"
has been added (to the end of the section on the parser extension has been added (to the end of the section on the parser extension
module). module).
- In module bisect.py, but functions have two optional argument 'lo'
and 'hi' which allow you to specify a subsequence of the array to
operate on.
- In ftplib.py, changed most methods to return their status (even when
it is always "200 OK") rather than swallowing it.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment