diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-03-01 02:31:33 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-03-01 02:31:33 (GMT) |
commit | 1eff79674bf63b1bdfb256d686fb0c270e748fe5 (patch) | |
tree | b57ccee5649719098727708e03ed5edefa4d16d0 /Misc | |
parent | 5819aa8b32a1722495868afb66a3dd4dc63df51d (diff) | |
download | cpython-1eff79674bf63b1bdfb256d686fb0c270e748fe5.zip cpython-1eff79674bf63b1bdfb256d686fb0c270e748fe5.tar.gz cpython-1eff79674bf63b1bdfb256d686fb0c270e748fe5.tar.bz2 |
Added blurbs about difflib, doctest and Windows import (PEP 235).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 33 |
1 files changed, 29 insertions, 4 deletions
@@ -1,4 +1,4 @@ -What's New in Python 2.1 alpha 507? +What's New in Python 2.1 alpha 509? =================================== Core language, builtins, and interpreter @@ -34,19 +34,44 @@ Standard library getting information about live Python code, and pydoc.py, a module for interactively converting docstrings to HTML or text. Tools/scripts/pydoc, which is now automatically installed into - <prefix>/bin, uses pydoc.py to display documentation; try running + <prefix>/bin, uses pydoc.py to display documentation; try running 'pydoc' for the instructions. +- New library module difflib.py, primarily packaging the SequenceMatcher + class at the heart of the popular ndiff.py file-comparison tool. + +- doctest.py (a framework for verifying Python code examples in docstrings) + is now part of the std library. + Windows changes -- Build: Subproject _test (effectively) renamed to _testcapi. +- Import is now case-sensitive. PEP 235 (Import on Case-Insensitive + Platforms) is implemented. See + + http://python.sourceforge.net/peps/pep-0235.html + + for full details, especially the "Current Lower-Left Semantics" section. + The new Windows import rules are simpler than before: + + A. If the PYTHONCASEOK environment variable exists, same as + before: silently accept the first case-insensitive match of any + kind; raise ImportError if none found. + + B. Else search sys.path for the first case-sensitive match; raise + ImportError if none found. + + The same rules have been implented on other platforms with case- + insensitive but case-preserving filesystems too (including Cygwin, and + several flavors of Macintosh operating systems). - winsound module: Under Win9x, winsound.Beep() now attempts to simulate what it's supposed to do (and does do under NT and 2000) via direct port manipulation. It's unknown whether this will work on all systems, - but it does work on my Win98SE system now and was known to be useless on + but it does work on my Win98SE systems now and was known to be useless on all Win9x systems before. +- Build: Subproject _test (effectively) renamed to _testcapi. + What's New in Python 2.1 alpha 2? ================================= |