[issue26195] Windows frozen .exe multiprocessing.Queue access is denied exception

2016-02-28 Thread Alex Robinson
Alex Robinson added the comment: Sorry I can't help more than provide a test environment for any fix. I just plucked the "fix" from StackOverflow and it fixed the Q problem on my machine. It appears, at the least, the multiprocessing code should probably not rely on the defaul

[issue26195] Windows frozen .exe multiprocessing.Queue access is denied exception

2016-01-24 Thread Alex Robinson
New submission from Alex Robinson: A pyinstaller 3.0 frozen .exe Python 2.7.10 program under Windows 7 that uses a multiprocessing.Queue to send things to a multiprocessing.Process leads to the process getting access-is-denied exceptions on every q.get() call. And, when the program can't

[issue4913] wave.py: add writesamples() and readsamples()

2010-08-09 Thread Alex Robinson
Alex Robinson added the comment: OK, here's the other. -- Added file: http://bugs.python.org/file18452/test_wave.py ___ Python tracker <http://bugs.python.org/i

[issue4913] wave.py: add writesamples() and readsamples()

2010-08-09 Thread Alex Robinson
Alex Robinson added the comment: Here go, Terry. Copies of the two files in the latest ZIP file. Hmmm. Well. Maybe just one of 'em. Looks like the only way to upload files is to add a msg, so I'll upload the other file in another msg. -- Added file: http://bugs.python.org

[issue4913] wave.py: add writesamples() and readsamples()

2009-02-08 Thread Alex Robinson
Alex Robinson added the comment: I'll upload the latest monkey-patch file, wave_futz.py, and test_wave.py, which has a gob of tests added to it. I found a 64-bit bug in the wave.py formats for 32-bit sample wave files. The pcm files read in to CoolEdit ok, including the 32-bit sample

[issue4913] wave.py: add writesamples() and readsamples()

2009-01-12 Thread Alex Robinson
Alex Robinson added the comment: "DC (0 hz) assumption"? wave.py makes the assumption that what the user wants is whatever happens to be in the file, however arbitrary. (That 8 bit samples are unsigned bytes is probably an artifact of early ADC logic. Typically you got an absolute, n

[issue4913] wave.py: add writesamples() and readsamples()

2009-01-12 Thread Alex Robinson
Alex Robinson added the comment: "8 bit samples stored as unsigned bytes"? 8 bit samples are 0..255 in the file. But to work with them, you'll want them -128..127. The code assumes DC==0 sample values for simplicity. "if len(wavs) not in [ 1, 2, 4 ]" ? That way if you&

[issue4913] wave.py: add writesamples() and readsamples()

2009-01-12 Thread Alex Robinson
Alex Robinson added the comment: Polo: "I could do it, but I'm in disagreement with big part of your patch." Why surely you can't mean the bug. :) (The test program has it fixed.) What is the disagreement? Apparently this bug system allows file attachments, so I will u

[issue4913] wave.py: add writesamples() and readsamples()

2009-01-12 Thread Alex Robinson
Alex Robinson added the comment: I might be able to do doc/test/patch in a month or two, but know zero.zero about the process so would expect it to take far more than a few hours when I do have time. ___ Python tracker <http://bugs.python.org/issue4

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Alex Robinson
Alex Robinson added the comment: Oh gob. I left a debug artifact in that code. wavs= [ wavs, wv ] needs to be without the 'wv'. ___ Python tracker <http://bugs.python.

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-11 Thread Alex Robinson
Alex Robinson added the comment: Oh golly. I was confused. For some reason I was thinking "writesamples()" when using "writeframes()". So the current code reads ok. Which makes this "bug" a request for writesamples() and readsamples() to be added to wave.py. Th

[issue4913] wave.py writes 16 bit sample files of half the correct duration

2009-01-10 Thread Alex Robinson
New submission from Alex Robinson : Corrected code in writeframesraw(): self._datawritten = self._datawritten + len(data) * self._sampwidth else: self._file.write(data) self._datawritten = self._datawritten + len(data) * self._sampwidth Note that

[issue2754] Mac version of IDLE doesn't scroll as expected

2008-05-04 Thread Alex Robinson
New submission from Alex Robinson <[EMAIL PROTECTED]>: On a Mac running 10.5.2 in IDLE 1.2.1, the scroll bars don't move as expected & track pad/mouse scrolling is not enabled. I believe this is also the case on Tiger (10.4) When using the scroll bar to scroll up through code,