summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct buggy module docstring.Jeremy Hylton2002-12-111-17/+30
| | | | | | Replace use of homebrew boolean with True/False. Reflow lots more long lines.
* Fix one bug and reformat lots of code.Jeremy Hylton2002-12-111-50/+72
| | | | | | | | | The bug is a reference to co_first_lineno that should be co_firstlineno. The only other substantial change is to speed up localtrace_count() by avoiding *costly* calls to inspect module. It's trivial to get the filename and lineno directly from the frame. Otherwise, delete commented out debug code and reflow very long lines.
* This is not used anymore.Martin v. Löwis2002-12-112-1003/+0
|
* Made the _ssl subproject depend on the w9xpopen subproject, becauseTim Peters2002-12-111-20/+23
| | | | build_ssl.py requires os.popen().
* Add OSS mixer interface (from Nicholas FitzRoy-Dale <wzdd@lardcave.net>):Greg Ward2002-12-111-0/+267
| | | | | | | | | | | * add oss_mixer_t and OSSMixerType * add newossmixerobject(), oss_mixer_dealloc(), ossopenmixer() * add _do_ioctl_1_internal() to support mixer ioctls * add mixer methods: oss_mixer_{close,fileno,channels,stereo_channels, rec_channels,getvol,setvol,getrecsrc,setrecsrc}() * add oss_mixer_methods list * add oss_mixer_getattr() (why?!) * export SOUND_MIXER_* constants from soundcard.h
* Various additions and changes suggested by Raymond HettingerAndrew M. Kuchling2002-12-111-16/+85
|
* Prepare for the coming mixer support patch: change _do_ioctl_0() andGreg Ward2002-12-111-14/+14
| | | | | _do_ioctl_1() so they take a file descriptor rather than an oss_t pointer.
* Finish expunging the 'linuxaudiodev' name:Greg Ward2002-12-111-55/+55
| | | | | | | * rename oss_t to lad_t, Ladtype to OSSType, * rename lad_*() methods to oss_*() * rename lad_methods list to oss_methods Patch and impetus supplied by Nicholas FitzRoy-Dale <wzdd@lardcave.net>.
* Constify filenames and scripts. Fixes #651362.Martin v. Löwis2002-12-1112-121/+126
|
* Tweak generation of unicode_whitespace_trans -- clearer, moreGreg Ward2002-12-111-2/+3
| | | | efficient. Suggested by MAL.
* Constify char* API. Fixes #651363. 2.2 candidate.Martin v. Löwis2002-12-112-6/+6
|
* Patch #650415: Avoid redefinition of macros.Martin v. Löwis2002-12-111-0/+12
|
* Patch #650422: Use Posix AF_ constants instead of PF_ ones.Martin v. Löwis2002-12-111-5/+7
|
* Patch #650834: Document 'U' in file mode, remove stale variables.Martin v. Löwis2002-12-111-5/+1
|
* Patch #651006: Better explain what component might be empty.Martin v. Löwis2002-12-111-1/+1
|
* Patch #651289: Fix quoting errors.Martin v. Löwis2002-12-112-7/+7
|
* Clean-up test class for DictMixin.Raymond Hettinger2002-12-111-2/+6
|
* Update comments about the performance of xrange().Raymond Hettinger2002-12-112-4/+4
|
* Update to reflect current implementation.Kurt B. Kaiser2002-12-111-78/+76
|
* Rework the command line interface, incorporating the shell/editKurt B. Kaiser2002-12-111-72/+136
| | | | | | configuration selection. Rework the usage message to match. Also some minor code polishing.
* Added a word to the heapq description in response to user confusion.Tim Peters2002-12-101-2/+3
|
* Install the tools/i18n directory on Windows. A user requested it,Tim Peters2002-12-101-0/+8
| | | | Barry agreed, and I see no reason not to.
* Added test_ossaudiodev to expected skips on Windows.Tim Peters2002-12-101-0/+1
|
* Aesthetic tweakery: factor read_sound_file() out of play_sound_file().Greg Ward2002-12-101-5/+9
|
* Initial revision is rev 1.8 of test_linuxaudiodev.py, withGreg Ward2002-12-101-0/+89
| | | | the obvious s/linuxaudiodev/ossaudiodev/ change made.
* Upgrade to Tix-8.1.4 from Mike Clarkson (the maintainer)Neal Norwitz2002-12-102-9/+23
|
* SF 548651: Fix the METH_CLASS implementation.Tim Peters2002-12-095-8/+80
| | | | | | | Most of these patches are from Thomas Heller, with long lines folded by Tim. The change to test_descr.py is from Guido. See the bug report. Not a bugfix candidate -- METH_CLASS is new in 2.3.
* Add test_unicode() to ensure that 1) textwrap doesn't crash on unicodeGreg Ward2002-12-091-0/+12
| | | | | input, and 2) unicode input means unicode output. This closes SF bug #622831.
* Added test_initial_whitespace() to ensure that SF bug #622849 is fixed.Greg Ward2002-12-091-3/+13
| | | | | | Change LongWordTestCase.setUp() -- remove leading whitespace from text string. Comment fix.
* Fix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace inGreg Ward2002-12-091-2/+3
| | | | the input string is always preserved.
* Fix SF bug #622831 (I think): add unicode_whitespace_trans classGreg Ward2002-12-091-1/+8
| | | | | | attribute, and modify _munge_whitespace() to recognize Unicode strings and use unicode_whitespace_trans to munge them. Still need to add a test to make sure I've really fixed the bug.
* Docs were added about a month agoRaymond Hettinger2002-12-091-2/+1
|
* self.binary -> self._binary to remove it from the public interface -Skip Montanaro2002-12-081-2/+2
| | | | suggestion by Raymond Hettinger.
* Add support for binary pickles to the shelve module. In some situationsSkip Montanaro2002-12-084-12/+98
| | | | | | | | this can result in significantly smaller files. All classes as well as the open function now accept an optional binary parameter, which defaults to False for backward compatibility. Added a small test suite, updated the libref documentation (including documenting the exported classes and fixing a few other nits) and added a note about the change to Misc/NEWS.
* slot_nb_nonzero(): Another leak uncovered by the sandbox datetimeTim Peters2002-12-071-28/+27
| | | | | | | tests. I found the logic too confusing to follow here, so rewrote more than was likely absolutely necessary. Bugfix candidate.
* Revise the __all__ index entry a touch.Fred Drake2002-12-071-1/+1
|
* Remove C++ comment. Silence unsigned char* cast warning.Martin v. Löwis2002-12-071-2/+2
|
* Remove C++ comment.Martin v. Löwis2002-12-071-1/+1
|
* Correct db3 /opt/sfw library path. Link ndbm with libc only if ndbm.hMartin v. Löwis2002-12-071-10/+10
| | | | | is present and libndbm is not. Add runtime libs to dbm if linked against Berkeley DB.
* Add another test which exercises the whole suite with aRaymond Hettinger2002-12-071-0/+14
| | | | heapsort and verifies the result against list.sort().
* Fix typo in abstract.c which caused __rpow__ to not be invoked.Raymond Hettinger2002-12-072-1/+6
| | | | | Added related testcase. Closes SF bug #643260.
* Add __all__ to Reference Manual index.Raymond Hettinger2002-12-071-0/+1
| | | | Closes SF 643227.
* Clarify and speedup test.Raymond Hettinger2002-12-071-2/+3
|
* Cleaned up test (removing bogus argument list).Raymond Hettinger2002-12-071-2/+2
|
* Remove assumption that cls is a subclass of dict.Raymond Hettinger2002-12-072-10/+4
| | | | Simplifies the code and gets Just van Rossum's example to work.
* A patch from Kevin Jacobs, plugging several leaks discovered whenTim Peters2002-12-071-5/+10
| | | | | | running the sandbox datetime tests. Bugfix candidate.
* slot_tp_hash(): In the normal path, this leaked a reference to theTim Peters2002-12-061-3/+3
| | | | | | integer hash object returned by __hash__(). This accounts for some of the "mystery leaks" in the sandbox datetime tests, but probably not all of them.
* Typo: propogate -> propagateThomas Heller2002-12-062-3/+3
| | | | Bugfix candidate.
* M PyShell.pyKurt B. Kaiser2002-12-062-20/+39
| | | | | | | | | | | | | 1. Format and print exceptions raised in user code. M rpc.py 1. Additional debug messages in rpc.py 2. Move debug message enable switch from SocketIO to Client and Server to allow separate activation. 3. Add indication of origin (client or server) to debug message 4. Add sequence number to appropriate debug messages 5. Pass string exception arg as a string rather than a tuple.
* Remove extra ")" in example.Fred Drake2002-12-061-1/+1
|