[Python-checkins] CVS: python/dist/src/Misc NEWS,1.167,1.168

Tim Peters tim_one@users.sourceforge.net
Mon, 14 May 2001 00:06:00 -0700


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

Modified Files:
	NEWS 
Log Message:
SF bug[ #423781:  pprint.isrecursive() broken.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.167
retrieving revision 1.168
diff -C2 -r1.167 -r1.168
*** NEWS	2001/05/14 03:09:36	1.167
--- NEWS	2001/05/14 07:05:58	1.168
***************
*** 3,12 ****
  
  Core
  - Some operating systems now support the concept of a default Unicode
    encoding for file system operations.  Notably, Windows supports 'mbcs'
    as the default.  The Macintosh will also adopt this concept in the medium
!   term, altough the default encoding for that platform will be other than 
    'mbcs'.
!   On operating system that support non-ascii filenames, it is common for 
    functions that return filenames (such as os.listdir()) to return Python
    string objects pre-encoded using the default file system encoding for
--- 3,13 ----
  
  Core
+ 
  - Some operating systems now support the concept of a default Unicode
    encoding for file system operations.  Notably, Windows supports 'mbcs'
    as the default.  The Macintosh will also adopt this concept in the medium
!   term, altough the default encoding for that platform will be other than
    'mbcs'.
!   On operating system that support non-ascii filenames, it is common for
    functions that return filenames (such as os.listdir()) to return Python
    string objects pre-encoded using the default file system encoding for
***************
*** 14,22 ****
    default encoding, converting this name to a Unicode object before passing
    it back to the Operating System would result in a Unicode error, as Python
!   would attempt to use it's default encoding (generally ASCII) rather 
!   than the default encoding for the file system.
!   In general, this change simply removes surprises when working with 
!   Unicode and the file system, making these operations work as
!   you expect, increasing the transparency of Unicode objects in this context.
    See [????] for more details, including examples.
  
--- 15,23 ----
    default encoding, converting this name to a Unicode object before passing
    it back to the Operating System would result in a Unicode error, as Python
!   would attempt to use its default encoding (generally ASCII) rather than
!   the default encoding for the file system.
!   In general, this change simply removes surprises when working with
!   Unicode and the file system, making these operations work as you expect,
!   increasing the transparency of Unicode objects in this context.
    See [????] for more details, including examples.
  
***************
*** 82,85 ****
--- 83,103 ----
    to crash if the element comparison routines for the dict keys and/or
    values mutated the dicts.  Making the code bulletproof slowed it down.
+ 
+ Library
+ 
+ - Cookie.py now sorts key+value pairs by key in output strings.
+ 
+ - pprint.isrecursive(object) didn't correctly identify recursive objects.
+   Now it does.
+ 
+ Tests
+ 
+ - New test_mutants.py runs dict comparisons where the key and value
+   comparison operators mutute the dicts randomly during comparison.  This
+   rapidly causes Python to crash under earlier releases (not for the faint
+   of heart:  it can also cause Win9x to freeze or reboot!).
+ 
+ - New test_pprint.py verfies that pprint.isrecursive() and
+   pprint.isreadable() return sensible results.