[Python-checkins] CVS: python/dist/src/Misc NEWS,1.289,1.290

Barry Warsaw bwarsaw@users.sourceforge.net
Thu, 18 Oct 2001 22:35:42 -0700


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

Modified Files:
	NEWS 
Log Message:
Last minute updates for changes since 2.2a4.  Unless Fred wants to add
anything about the hotshot profiler, this file is ready for the 2.2b1
Windows build.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.289
retrieving revision 1.290
diff -C2 -d -r1.289 -r1.290
*** NEWS	2001/10/19 03:40:19	1.289
--- NEWS	2001/10/19 05:35:40	1.290
***************
*** 39,43 ****
  - Weak reference objects are now part of the core and offers a C API.
    A bug which could allow a core dump when binary operations involved
!   proxy reference has been fixed.
  
  - unicode(obj) now behaves more like str(obj), accepting arbitrary
--- 39,44 ----
  - Weak reference objects are now part of the core and offers a C API.
    A bug which could allow a core dump when binary operations involved
!   proxy reference has been fixed.  weekref.ReferenceError is now a
!   built-in exception.
  
  - unicode(obj) now behaves more like str(obj), accepting arbitrary
***************
*** 46,49 ****
--- 47,61 ----
    require an 8-bit string argument.
  
+ - isinstance() now allows any object as the first argument and a
+   class, a type or something with a __bases__ tuple attribute for the
+   second argument.  The second argument may also be a tuple of a
+   class, type, or something with __bases__, in which case isinstance()
+   will return true if the first argument is an instance of any of the
+   things contained in the second argument tuple.  E.g.
+ 
+   isinstance(x, (A, B))
+ 
+   returns true if x is an instance of A or B.
+ 
  Extension modules
  
***************
*** 74,78 ****
    functions RAND_add(), RAND_egd(), and RAND_status().  These calls
    are useful on platforms like Solaris where OpenSSL does not
!   automatically seed its PRNG.
  
  Library
--- 86,94 ----
    functions RAND_add(), RAND_egd(), and RAND_status().  These calls
    are useful on platforms like Solaris where OpenSSL does not
!   automatically seed its PRNG.  Also, the keyfile and certfile
!   arguments to socket.ssl() are now optional.
! 
! - posixmodule (and by extension, the os module on POSIX platforms) now
!   exports O_LARGEFILE, O_DIRECT, O_DIRECTORY, and O_NOFOLLOW.
  
  Library
***************
*** 115,118 ****
--- 131,147 ----
    finish_request() returns.  (Not when it errors out though.)
  
+ - The nntplib module's NNTP.body() method has grown a `file' argument
+   to allow saving the message body to a file.
+ 
+ - The email package has added a class email.Parser.HeaderParser which
+   only parses headers and does not recurse into the message's body.
+   Also, the module/class MIMEAudio has been added for representing
+   audio data (contributed by Anthony Baxter).
+ 
+ - ftplib should be able to handle files > 2GB.
+ 
+ - ConfigParser.getboolean() now also interprets TRUE, FALSE, YES, NO,
+   ON, and OFF.
+ 
  Tools/Demos
  
***************
*** 121,125 ****
--- 150,160 ----
    http://PyDNS.SourceForge.net.
  
+ - The freeze tool has been made more robust, and two new options have
+   been added: -X and -E.
+ 
  Build
+ 
+ - configure will use CXX in LINKCC if CXX is used to build main() and
+   the system requires to link a C++ main using the C++ compiler.
  
  C API