From ed9e644793ab3b8fca645b41fa48bdb418c20e77 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 9 Oct 2000 18:26:42 +0000 Subject: Summary of changes between 2.0b2 and 2.0c1 --- Misc/NEWS | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 124 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 140cc6f..2183e42 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1,4 +1,4 @@ -What's New in Python 2.0b2? +What's New in Python 2.0c1? =========================== Below is a list of all relevant changes since release 1.6. Older @@ -14,6 +14,129 @@ http://starship.python.net/crew/amk/python/writing/new-python/. ====================================================================== +What's new in 2.0 release candidate 1 (since beta 2)? +===================================================== + +All the changes since the last beta release are bug fixes or changes +to build support for specific platforms. + +Core language, builtins, and interpreter + +- A bug that caused crashes when __coerce__ was used with augmented + assignment, e.g. +=, was fixed. + +- Raise ZeroDivisionError when raising zero to a negative number, + e.g. 0.0 ** -2.0. Note that math.pow is unrelated to the builtin + power operator and the result of math.pow(0.0, -2.0) will vary by + platform. On Linux, it raises a ValueError. + +- A bug in Unicode string interpolation was fixed that occasionally + caused errors with formats including "%%". For example, the + following expression "%% %s" % u"abc" no longer raises a TypeError. + +- Compilation of deeply nested expressions raises MemoryError instead + of SyntaxError, e.g. eval("[" * 50 + "]" * 50). + +- In 2.0b2 on Windows, the interpreter wrote .pyc files in text mode, + rendering them useless. They are now written in binary mode again. + +Standard library + +- Keyword arguments are now accepted for most pattern and match object + methods in SRE, the standard regular expression engine. + +- In SRE, fix error with negative lookahead and lookbehind that + manifested itself as a runtime error in patterns like "?