[Python-checkins] python/dist/src/Misc NEWS,1.799,1.800
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Sun, 29 Jun 2003 10:25:41 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv28366/Misc
Modified Files:
NEWS
Log Message:
Add several news items for changes I made since b1.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.799
retrieving revision 1.800
diff -C2 -d -r1.799 -r1.800
*** NEWS 29 Jun 2003 17:12:30 -0000 1.799
--- NEWS 29 Jun 2003 17:25:39 -0000 1.800
***************
*** 38,41 ****
--- 38,45 ----
code relying (whether intentionally or accidentally) on old behavior.
+ - SF bug 734869: Fixed a compiler bug that caused a fatal error when
+ compiling a list comprehension that contained another list comprehension
+ embedded in a lambda expression.
+
- SF bug 705231: builtin pow() no longer lets the platform C pow()
raise -1.0 to integer powers, because (at least) glibc gets it wrong
***************
*** 44,47 ****
--- 48,55 ----
is (mathematically) an exact even integer.
+ - SF bug 759227: A new-style class that implements __nonzero__() must
+ return a bool or int (but not an int subclass) from that method. This
+ matches the restriction on classic classes.
+
- The encoding attribute has been added for file objects, and set to
the terminal encoding on Unix and Windows.
***************
*** 61,64 ****
--- 69,76 ----
name lookups).
+ - SF bug 735247: The staticmethod and super types participate in
+ garbage collection. Before this change, it was possible for leaks to
+ occur in functions with non-global free variables that used these types.
+
Extension modules
-----------------
***************
*** 67,70 ****
--- 79,90 ----
timeouts to be handled separately from other socket errors.
+ - SF bug 751276: cPickle has fixed to propagate exceptions raised in
+ user code. In earlier versions, cPickle caught and ignored any
+ exception when it performed operations that it expected to raise
+ specific exceptions like AttributeError.
+
+ - cPickle Pickler and Unpickler objects now participate in garbage
+ collection.
+
- mimetools.choose_boundary() could return duplicate strings at times,
especially likely on Windows. The strings returned are now guaranteed
***************
*** 89,92 ****
--- 109,113 ----
for many BSD-derived systems.
+
Library
-------
***************
*** 107,117 ****
framework features (which doctest lacks).
- - ZipFile.testzip() now only traps BadZipfile exceptions. Previously,
- a bare except caught to much and reported all errors as a problem
- in the archive.
-
- - The logging module now has a new function, makeLogRecord() making
- LogHandler easier to interact with DatagramHandler and SocketHandler.
-
- For compatibility with doctests created before 2.3, if an expected
output block consists solely of "1" and the actual output block
--- 128,131 ----
***************
*** 122,125 ****
--- 136,146 ----
argument.
+ - ZipFile.testzip() now only traps BadZipfile exceptions. Previously,
+ a bare except caught to much and reported all errors as a problem
+ in the archive.
+
+ - The logging module now has a new function, makeLogRecord() making
+ LogHandler easier to interact with DatagramHandler and SocketHandler.
+
- The cgitb module has been extended to support plain text display (SF patch
569574).
***************
*** 129,136 ****
no more.
- The threading module has new functions settrace() and setprofile()
that cooperate with the functions of the same name in the sys
module. A function registered with the threading module will
! be used for all threads it creates.
- copy.py: applied SF patch 707900, fixing bug 702858, by Steven
--- 150,164 ----
no more.
+ - Added a new module: trace (documentation missing). This module used
+ to be distributed in Tools/scripts. It uses sys.settrace() to trace
+ code execution -- either function calls or individual lines. It can
+ generate tracing output during execution or a post-mortem report of
+ code coverage.
+
- The threading module has new functions settrace() and setprofile()
that cooperate with the functions of the same name in the sys
module. A function registered with the threading module will
! be used for all threads it creates. The new trace module uses this
! to provide tracing for code running in threads.
- copy.py: applied SF patch 707900, fixing bug 702858, by Steven