diff options
author | Michael W. Hudson <mwh@python.net> | 2002-03-17 20:47:11 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-03-17 20:47:11 (GMT) |
commit | 7eac98d6359533d762753f8bd730ed3c7c6e720a (patch) | |
tree | 4839f381ebc27a917eb4e26708b012f63401d399 | |
parent | 18f69f8e27019402e320129b48aa8c018a9bdec6 (diff) | |
download | cpython-7eac98d6359533d762753f8bd730ed3c7c6e720a.zip cpython-7eac98d6359533d762753f8bd730ed3c7c6e720a.tar.gz cpython-7eac98d6359533d762753f8bd730ed3c7c6e720a.tar.bz2 |
A first cut at NEWS for 2.2.1c1.
Please comment! You can find logs at
http://starship.python.net/crew/mwh/cvslog3.txt
on the assumption that you don't want to fight cvs yourself.
In particular, I need a better explanation of the bugs that have
been fixed in the email package.
-rw-r--r-- | Misc/NEWS | 58 |
1 files changed, 54 insertions, 4 deletions
@@ -1,7 +1,10 @@ -What's New in Python 2.2.1 XXX? +What's New in Python 2.2.1c1? Release date: XXX =============================== +This is primarily a bugfix release. Many bugs have been fixed since +the release of 2.2 final. Some of the more notable are listed here. + Core and builtins - If you try to pickle an instance of a class that has __slots__ but @@ -10,9 +13,31 @@ Core and builtins raises TypeError. (Before, this would appear to be pickled, but the state of the slots would be lost.) -- PyErr_Display will provide file and line information for all exceptions - that have an attribute print_file_and_line, not just SyntaxErrors. This - fixes the bug that no proper line number is given for bad \x escapes. +- (1).__nonzero__() would dump core. + +- Tim has had another go at getting sensible behaviour with respect to + floating point underflow/overflow. + +- Adding an instance of subclass of int to, say, a string, could + erroneously return "NotImplemented" instead of raising a TypeError. + +- Subclassing longs could cause core dumps in certain circumstances. + +- PyErr_Display will provide file and line information for all + exceptions that have an attribute print_file_and_line, not just + SyntaxErrors. This fixes the bug that no proper line number is given + for bad \x escapes. + +- sys.setprofile() and sys.settrace() would dump core if called with + no arguments. + +- An obscure & small memory overrun in wide unicode builds have been + fixed. + +- __doc__ can now be of arbitrary type (in particular, it can be a + unicode string). + +- complex objects are now immutable (as they should always have been). Extension modules @@ -21,12 +46,37 @@ Extension modules hole was quickly plugged in zlib-1.1.4, and the Windows build of Python 2.2.1 now ships with zlib-1.1.4. +- new.instancemethod no longer fails for new-style classes. + +- The "pseudo-sequences" returned by os.stat(), os.fstat(), + time.localtime() can now be pickled. + +- Due to a cut and paste error the object exported as + posix.statvfs_result was in fact posix.stat_result. + Library +- The copy module can be used in restricted execution mode. + +- A few bugs in the email package have been fixed. + XXX more detail! + +- StringIO's attitude to unicode strings has been reverted to that of + the 2.1.x branch (note cStringIO still knows nothing about unicode). + - webbrowser: tightened up the command passed to os.system() so that arbitrary shell code can't be executed because a bogus URL was passed in. +- Recursive structures containing new-style classes can now by + deep-copied. + +- ftplib defaults to passive mode (again). + +Tools + +- Bugs in IDLE's autoindent when using new-style division were fixed. + What's New in Python 2.2 final? Release date: 21-Dec-2001 |