Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct buggy module docstring. | Jeremy Hylton | 2002-12-11 | 1 | -17/+30 |
| | | | | | | Replace use of homebrew boolean with True/False. Reflow lots more long lines. | ||||
* | Fix one bug and reformat lots of code. | Jeremy Hylton | 2002-12-11 | 1 | -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öwis | 2002-12-11 | 2 | -1003/+0 |
| | |||||
* | Made the _ssl subproject depend on the w9xpopen subproject, because | Tim Peters | 2002-12-11 | 1 | -20/+23 |
| | | | | build_ssl.py requires os.popen(). | ||||
* | Add OSS mixer interface (from Nicholas FitzRoy-Dale <wzdd@lardcave.net>): | Greg Ward | 2002-12-11 | 1 | -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 Hettinger | Andrew M. Kuchling | 2002-12-11 | 1 | -16/+85 |
| | |||||
* | Prepare for the coming mixer support patch: change _do_ioctl_0() and | Greg Ward | 2002-12-11 | 1 | -14/+14 |
| | | | | | _do_ioctl_1() so they take a file descriptor rather than an oss_t pointer. | ||||
* | Finish expunging the 'linuxaudiodev' name: | Greg Ward | 2002-12-11 | 1 | -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öwis | 2002-12-11 | 12 | -121/+126 |
| | |||||
* | Tweak generation of unicode_whitespace_trans -- clearer, more | Greg Ward | 2002-12-11 | 1 | -2/+3 |
| | | | | efficient. Suggested by MAL. | ||||
* | Constify char* API. Fixes #651363. 2.2 candidate. | Martin v. Löwis | 2002-12-11 | 2 | -6/+6 |
| | |||||
* | Patch #650415: Avoid redefinition of macros. | Martin v. Löwis | 2002-12-11 | 1 | -0/+12 |
| | |||||
* | Patch #650422: Use Posix AF_ constants instead of PF_ ones. | Martin v. Löwis | 2002-12-11 | 1 | -5/+7 |
| | |||||
* | Patch #650834: Document 'U' in file mode, remove stale variables. | Martin v. Löwis | 2002-12-11 | 1 | -5/+1 |
| | |||||
* | Patch #651006: Better explain what component might be empty. | Martin v. Löwis | 2002-12-11 | 1 | -1/+1 |
| | |||||
* | Patch #651289: Fix quoting errors. | Martin v. Löwis | 2002-12-11 | 2 | -7/+7 |
| | |||||
* | Clean-up test class for DictMixin. | Raymond Hettinger | 2002-12-11 | 1 | -2/+6 |
| | |||||
* | Update comments about the performance of xrange(). | Raymond Hettinger | 2002-12-11 | 2 | -4/+4 |
| | |||||
* | Update to reflect current implementation. | Kurt B. Kaiser | 2002-12-11 | 1 | -78/+76 |
| | |||||
* | Rework the command line interface, incorporating the shell/edit | Kurt B. Kaiser | 2002-12-11 | 1 | -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 Peters | 2002-12-10 | 1 | -2/+3 |
| | |||||
* | Install the tools/i18n directory on Windows. A user requested it, | Tim Peters | 2002-12-10 | 1 | -0/+8 |
| | | | | Barry agreed, and I see no reason not to. | ||||
* | Added test_ossaudiodev to expected skips on Windows. | Tim Peters | 2002-12-10 | 1 | -0/+1 |
| | |||||
* | Aesthetic tweakery: factor read_sound_file() out of play_sound_file(). | Greg Ward | 2002-12-10 | 1 | -5/+9 |
| | |||||
* | Initial revision is rev 1.8 of test_linuxaudiodev.py, with | Greg Ward | 2002-12-10 | 1 | -0/+89 |
| | | | | the obvious s/linuxaudiodev/ossaudiodev/ change made. | ||||
* | Upgrade to Tix-8.1.4 from Mike Clarkson (the maintainer) | Neal Norwitz | 2002-12-10 | 2 | -9/+23 |
| | |||||
* | SF 548651: Fix the METH_CLASS implementation. | Tim Peters | 2002-12-09 | 5 | -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 unicode | Greg Ward | 2002-12-09 | 1 | -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 Ward | 2002-12-09 | 1 | -3/+13 |
| | | | | | | Change LongWordTestCase.setUp() -- remove leading whitespace from text string. Comment fix. | ||||
* | Fix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace in | Greg Ward | 2002-12-09 | 1 | -2/+3 |
| | | | | the input string is always preserved. | ||||
* | Fix SF bug #622831 (I think): add unicode_whitespace_trans class | Greg Ward | 2002-12-09 | 1 | -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 ago | Raymond Hettinger | 2002-12-09 | 1 | -2/+1 |
| | |||||
* | self.binary -> self._binary to remove it from the public interface - | Skip Montanaro | 2002-12-08 | 1 | -2/+2 |
| | | | | suggestion by Raymond Hettinger. | ||||
* | Add support for binary pickles to the shelve module. In some situations | Skip Montanaro | 2002-12-08 | 4 | -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 datetime | Tim Peters | 2002-12-07 | 1 | -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 Drake | 2002-12-07 | 1 | -1/+1 |
| | |||||
* | Remove C++ comment. Silence unsigned char* cast warning. | Martin v. Löwis | 2002-12-07 | 1 | -2/+2 |
| | |||||
* | Remove C++ comment. | Martin v. Löwis | 2002-12-07 | 1 | -1/+1 |
| | |||||
* | Correct db3 /opt/sfw library path. Link ndbm with libc only if ndbm.h | Martin v. Löwis | 2002-12-07 | 1 | -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 a | Raymond Hettinger | 2002-12-07 | 1 | -0/+14 |
| | | | | heapsort and verifies the result against list.sort(). | ||||
* | Fix typo in abstract.c which caused __rpow__ to not be invoked. | Raymond Hettinger | 2002-12-07 | 2 | -1/+6 |
| | | | | | Added related testcase. Closes SF bug #643260. | ||||
* | Add __all__ to Reference Manual index. | Raymond Hettinger | 2002-12-07 | 1 | -0/+1 |
| | | | | Closes SF 643227. | ||||
* | Clarify and speedup test. | Raymond Hettinger | 2002-12-07 | 1 | -2/+3 |
| | |||||
* | Cleaned up test (removing bogus argument list). | Raymond Hettinger | 2002-12-07 | 1 | -2/+2 |
| | |||||
* | Remove assumption that cls is a subclass of dict. | Raymond Hettinger | 2002-12-07 | 2 | -10/+4 |
| | | | | Simplifies the code and gets Just van Rossum's example to work. | ||||
* | A patch from Kevin Jacobs, plugging several leaks discovered when | Tim Peters | 2002-12-07 | 1 | -5/+10 |
| | | | | | | running the sandbox datetime tests. Bugfix candidate. | ||||
* | slot_tp_hash(): In the normal path, this leaked a reference to the | Tim Peters | 2002-12-06 | 1 | -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 -> propagate | Thomas Heller | 2002-12-06 | 2 | -3/+3 |
| | | | | Bugfix candidate. | ||||
* | M PyShell.py | Kurt B. Kaiser | 2002-12-06 | 2 | -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 Drake | 2002-12-06 | 1 | -1/+1 |
| |