[issue42633] Wave documentation doesn't mention signed/unsigned requirements

2020-12-13 Thread Matthew Walker
New submission from Matthew Walker : It would be very useful if the documentation for Python's Wave module mentioned that 8-bit samples must be unsigned while 16-bit samples must be signed. See the Wikipedia article on the WAV format: "There are some inconsistencies in the WAV f

[issue14756] Empty Dict in Initializer is Shared Betwean Objects

2012-05-08 Thread Matthew Walker
Changes by Matthew Walker : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue14756> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14756] Empty Dict in Initializer is Shared Betwean Objects

2012-05-08 Thread Matthew Walker
New submission from Matthew Walker : When initializing a class with an empty dict() object as a default initializer, if it is not overridden, multiple instances of the class will share the dictionary. IE: class test(object): def __init__(self, obj=dict()): self.obj = obj a = test() b

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2011-02-04 Thread Matthew Walker
Matthew Walker added the comment: Oh, and the stack trace was identical to Greg's: $ ./test.py I am process number 10378 : i = 0 [...] I am process number 10390 : i = 9 [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] Exception in thread Thread-1 (most likely raised during interpreter shu

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2011-02-04 Thread Matthew Walker
Matthew Walker added the comment: It looks to me as if this issue has already been pretty much sorted out already. Maybe all it lacks is to be officially closed, but just in case I just wanted to add that I too saw this bug (stock python 2.7, Ubuntu 10.04 64 bit). My example code was