- 08 Oct, 2000 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
"audio". Also add AFMT_S16_NE ("native-endian"). (Somehow there's no AFMT_U16_NE.)
-
Guido van Rossum authored
-
Guido van Rossum authored
16-bit signed data instead. Hope this works for you; it works for me.
-
- 07 Oct, 2000 14 commits
-
-
Martin v. Löwis authored
-
Fredrik Lundh authored
-
Fred Drake authored
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
they were similar to *_GetSize(); should be similar to *_Size(). Error noted by William Park <parkw@better.net>.
-
Fred Drake authored
Generated files for BeOS R5.
-
Martin v. Löwis authored
-
Mark Hammond authored
Prevent possible buffer overflow exploits under Windows. As per (the very quick) patch Patch #101801.
-
Fredrik Lundh authored
character class. Fix provided by Andrew Kuchling. Closes bug #116251.
-
Marc-André Lemburg authored
[ Bug #116174 ] using %% in cstrings sometimes fails with unicode paramsFix for the bug reported in Bug #116174: "%% %s" % u"abc" failed due to the way string formatting delegated work to the Unicode formatting function.
-
Marc-André Lemburg authored
-
Tim Peters authored
tokenize.py has always used naive regexps for matching string literals, and that appears to trigger the sre recursion limit on Skip's platform (he has very long single-line string literals). Replaced all of tokenize.py's string regexps with the "unrolled" forms used in IDLE, where they're known to handle even absurd (multi-megabyte!) string literals without trouble. See Friedl's book for explanation (at heart, the naive regexps create a backtracking choice point for each character in the literal, while the unrolled forms create none).
-
Tim Peters authored
-
- 06 Oct, 2000 22 commits
-
-
Tim Peters authored
parsing functions in support of auto-indent weren't expecting Unicode strings, but text.get() can now return them (although it remains muddy as to exactly when or why that can happen). Fixed that with a Big Hammer.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
correct order of constructor args in createAttributeNS pulldom: use symbolic names for uri and localnames correct usage of createAttribute and setAttributeNode signatures.
-
Martin v. Löwis authored
for incomplete input.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
the InputSource.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
callers of feed will get a SAXException. In close, feed the last chunk first before calling endDocument, so that the parser may report errors before the end of the document. Don't do anything in a nested parser. Don't call endDocument in parse; that will be called in close. Use self._source for finding the SystemID; XML_GetBase will be cleared in case of an error.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Fix large file support for BeOS. This closes SourceForge patch #101773. Refer to the patch discussion for information on possible alternate fixes.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
This closes SourceForge bug #115928.
-
Fred Drake authored
not added then, and note what the change was (ncurses, change to a package).
-
Fred Drake authored
Revised the first paragraph so it doesn't sound like it was written when 7-bit strings were assumed; note that Unicode strings can be used.
-
Jeremy Hylton authored
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
-
Fred Drake authored
"disciplines" for the __*__() methods, so they should be referred to as "methods" or "special methods", as appropriate in context.
-
Fred Drake authored
as a parameter; this was the only use of the base constructor or surgical alteration of another object's data attribute. This change simplifies the constructor requirements for subclasses. This relates to SourceForge bug #115928.
-
Jim Fulton authored
operations are defined. This will, hopefully clarify some of the logic. Added close test to raise proper error when operations are performed on closed StringIOs. Added a position argument to the truncate method. Added a size argument to readline. Added PyArg_Parse calls for methods that don't take arguments to make sure they don't take arguments.
-
Jim Fulton authored
Added missing clode to make the clode test test a close. ;)
-
Tim Peters authored
-