| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
driver code, so that each test gets this; it had been done inconsistently.
Remove the lines that set the variables holding dom objects to None; not
needed since the interpreter cleans up locals on function return.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
for incomplete input.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read the header from the .au file and do a sanity check
pass only the data to the audio device
call flush() so that program does not exit until playback is complete
call all the other methods to verify that they work minimally
call setparameters with a bunch of bugs arguments
linuxaudiodev.c:
use explicit O_WRONLY and O_RDONLY instead of 1 and 0
add a string name to each of the entries in audio_types[]
add AFMT_A_LAW to the list of known formats
add x_mode attribute to lad object, stores imode from open call
test ioctl return value as == -1, not < 0
in read() method, resize string before return
add getptr() method, that calls does ioctl on GETIPTR or GETOPTR
depending on x_mode
in setparameters() method, do better error checking and raise
ValueErrors; also use ioctl calls recommended by Open Sound
System Programmer's Guido (www.opensound.com)
use PyModule_AddXXX to define names in module
|
| |
|
|
|
|
| |
ImportError, and a missing driver.
|
| |
|
|
|
|
|
|
|
|
| |
cStringIO does not get it right (reported as SF bug #115531).
Added test for ValueError when write() is called on a closed StringIO
object. Commented out because cStringIO does not get it right
(reported as SF bug #115530).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to the Python style guide, and remove unneeded imports.
|
| |
|
| |
|
|
|
|
| |
Closes Bug #114775.
|
| |
|
|
|
|
|
|
| |
query string
also some doc string reformatting and use of string methods instead of
older string.splitfields
|
|
|
|
|
|
|
|
|
|
|
| |
Strings are unpickled by calling eval on the string's repr. This
change makes pickle work like cPickle; it checks if the pickled
string is safe to eval and raises ValueError if it is not.
test suite modifications:
Verify that pickle catches a variety of insecure string pickles
Make test_pickle and test_cpickle use exactly the same test suite
Add test for pickling recursive object
|
|
|
|
| |
various illegal uses of "continue".
|
|
|
|
|
|
|
|
|
|
|
| |
waste an hour tracking down an illusion; repaired it; writing/reading non-
printable characters (except \t\r\n) into/outof text-mode files ain't
defined x-platform, and at least some Windows text editors do surprising
things in their presence.
Also added a by-hand "build humber" to the Windows build, in an approximation
of Python's inexplicable BUILD-number Unix scheme. I'll try to remember to
increment it each time I make a Windows installer available. It's starting
at 2, cuz I've put 2 installers out so far (both with BUILD #0).
|
|
|
|
|
| |
-- improved the SRE test harness: don't use asserts, test a few more
things (including more boundary conditions)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python test suite. Specifically,
- import time instead of strop in test_b1
- test for ClassType of exceptions using isinstance instead of
equality in test_exceptions
- remove __builtins__ from dir() output in test_pkg
test_pkg output needs to be regenerated.
|
| |
|
|
|
|
|
|
| |
applies patch #101369 by Moshe Zadke
use explicit list of always safe characters instead of string.letters
add test case
|
|
|
|
| |
class-based APIs.
|
| |
|
| |
|
|
|
|
|
| |
Again due to the duplicate copies of test_support, the checked-in
"expected output" file actually contains verbose-mode output.
|
|
|
|
| |
Add some test cases.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
|
|
|
|
| |
fields with quoted values (as in Path="/acme")
|
|
|
|
|
|
|
| |
Update the test suite for the changes introduced by the EXTENDED_ARG
opcode.
This closes the regression test changes of SourceForge patch #100893.
|
| |
|
| |
|
|
|
|
| |
test_support. Also fixed the expected output.
|
| |
|
|
|
|
| |
Additional test cases for the extended print form.
|
|
|
|
|
|
|
| |
docs changes are needed (only reference to winreg I could find
was in libwinreg.tex, which is documenting _winreg, and merely
mentions that a higher-level winreg module *may* appear someday;
that's still true).
|
|
|
|
|
| |
https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470
Accepted as-is, except for purging an "import *".
|