[Python-checkins] CVS: python/dist/src/Misc NEWS,1.280,1.281

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 16 Oct 2001 14:34:51 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv4132

Modified Files:
	NEWS 
Log Message:
Add fix for getattr(obj, name, default).  Rearrange a few things.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.280
retrieving revision 1.281
diff -C2 -d -r1.280 -r1.281
*** NEWS	2001/10/16 21:13:49	1.280
--- NEWS	2001/10/16 21:34:49	1.281
***************
*** 21,25 ****
    class methods, static methods, and properties.
  
! Core
  
  - A very subtle syntactical pitfall in list comprehensions was fixed.
--- 21,25 ----
    class methods, static methods, and properties.
  
! Core and builtins
  
  - A very subtle syntactical pitfall in list comprehensions was fixed.
***************
*** 32,35 ****
--- 32,44 ----
    [<singleton>] anyway, so it's not like any expressiveness is lost.
  
+ - getattr(obj, name, default) now only catches AttributeError, as
+   documented, rather than returning the default value for all
+   exceptions (which could mask bugs in a __getattr__ hook, for
+   example).
+ 
+ Extension modules
+ 
+ - thread.start_new_thread() now returns the thread ID (previously None).
+ 
  - binascii has now two quopri support functions, a2b_qp and b2a_qp.
  
***************
*** 38,44 ****
  - posix supports chroot where available.
  
! Library
  
! - thread.start_new_thread() now returns the thread ID (previously None).
  
  - doctest now excludes functions and classes not defined by the module
--- 47,55 ----
  - posix supports chroot where available.
  
! - Decompression objects in the zlib module now accept an optional
!   second parameter to decompress() that specifies the maximum amount
!   of memory to use for the uncompressed data.
  
! Library
  
  - doctest now excludes functions and classes not defined by the module
***************
*** 75,82 ****
    which indicates whether output is intended for the header 'Q'
    encoding.
- 
- - Decompression objects in the zlib module now accept an optional
-   second parameter to decompress() that specifies the maximum amount
-   of memory to use for the uncompressed data.
  
  Tools/Demos
--- 86,89 ----