[Python-checkins] r81810 - in python/branches/release31-maint: Lib/sunau.py Lib/test/test_sunau.py Misc/ACKS Misc/NEWS

victor.stinner python-checkins at python.org
Mon Jun 7 22:24:48 CEST 2010


Author: victor.stinner
Date: Mon Jun  7 22:24:48 2010
New Revision: 81810

Log:
Merged revisions 81809 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81809 | victor.stinner | 2010-06-07 22:14:04 +0200 (lun., 07 juin 2010) | 3 lines
  
  Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
  Thomas Jollans.
........


Added:
   python/branches/release31-maint/Lib/test/test_sunau.py
      - copied unchanged from r81809, /python/branches/py3k/Lib/test/test_sunau.py
Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/sunau.py
   python/branches/release31-maint/Misc/ACKS
   python/branches/release31-maint/Misc/NEWS

Modified: python/branches/release31-maint/Lib/sunau.py
==============================================================================
--- python/branches/release31-maint/Lib/sunau.py	(original)
+++ python/branches/release31-maint/Lib/sunau.py	Mon Jun  7 22:24:48 2010
@@ -299,7 +299,7 @@
         self._nframeswritten = 0
         self._datawritten = 0
         self._datalength = 0
-        self._info = ''
+        self._info = b''
         self._comptype = 'ULAW' # default is U-law
 
     def setnchannels(self, nchannels):

Modified: python/branches/release31-maint/Misc/ACKS
==============================================================================
--- python/branches/release31-maint/Misc/ACKS	(original)
+++ python/branches/release31-maint/Misc/ACKS	Mon Jun  7 22:24:48 2010
@@ -375,6 +375,7 @@
 Fredrik Johansson
 Gregory K. Johnson
 Simon Johnston
+Thomas Jollans
 Evan Jones
 Jeremy Jones
 Richard Jones

Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS	(original)
+++ python/branches/release31-maint/Misc/NEWS	Mon Jun  7 22:24:48 2010
@@ -54,6 +54,9 @@
 Library
 -------
 
+- Issue #8897: Fix sunau module, use bytes to write the header. Patch written
+  by Thomas Jollans.
+
 - Issue #6470: Drop UNC prefix in FixTk.
 
 - Issue #4768: base64 encoded email body parts were incorrectly stored as


More information about the Python-checkins mailing list