- 30 Dec, 2002 15 commits
-
-
Andrew M. Kuchling authored
-
Marc-André Lemburg authored
-
Raymond Hettinger authored
The new "substr in str" feature masked the error.
-
Raymond Hettinger authored
ignore tuple. The line, "from _random import Random as CoreGenerator", fools the test code which expects CoreGenerator.__name__ to be "CoreGenerator" instead of "Random".
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Greg Ward authored
-
Greg Ward authored
-
Raymond Hettinger authored
the _random subclass for Random.
-
Greg Ward authored
-
Greg Ward authored
* channels() -> devices() * stereochannels() -> stereodevices() * recchannels() -> recdevices() * getvol() -> get() * setvol() -> set() This is for (slightly) more consistency with the OSS ioctl names (READ_DEVMASK, READ_RECMASK, READ_STEREODEVS). Also make sure the C function names correspond more closely to the Python method names for mixer methods.
-
Greg Ward authored
(It added nothing, and served no obvious purpose.) Export SOUND_MIXER_NRDEVICES constant.
-
Raymond Hettinger authored
random number generator. Altered it a bit to use the old generator and restore the test.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 29 Dec, 2002 15 commits
-
-
Tim Peters authored
into the core DLL, since it's not much code and lots of stuff uses it (e.g., try getting a tempfile name without it).
-
Tim Peters authored
Guido has in mind an easier way for users to code this stuff, but the only tests we have now are for fixed-offset tzinfo classes, and this stuff is extremely delicate in the endcases (read the new test code for why: there are holes in time <wink>).
-
Raymond Hettinger authored
core generator for random.py.
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
M PyShell.py 1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a multiline prompt. 2. The same fix introduced a bug where hitting <enter> at a previous prompt-only line would copy the prompt to the iomark. 3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow this code to work before a shell is started up. 4. If cursor is on the input line in the prompt, and you hit <enter>, process the line instead of complaining. 5. If line has no stdin range (this includes the last line before shell restart) strip any prompt before recalling.
-
Raymond Hettinger authored
Also, made some whitespace cleanup.
-
Marc-André Lemburg authored
Python 2.2.x backport candidate. (This bug has been around since Python 1.6.)
-
Raymond Hettinger authored
Suggested by MvL.
-
Raymond Hettinger authored
equality. Note, there is another flavor that compares to a given number of significant digits rather than decimal places. If there is a demand, that could be added at a later date.
-
Raymond Hettinger authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Raymond Hettinger authored
Obtain cleaner coding and a system wide performance boost by using the fast, pre-parsed PyArg_Unpack function instead of PyArg_ParseTuple function which is driven by a format string.
-
Raymond Hettinger authored
experimental.
-
- 28 Dec, 2002 2 commits
-
-
Tim Peters authored
This can cause core dumps when Python runs. Python relies on the 754- (and C99-) mandated default "non-stop" mode for FP exceptions. This patch from Ben Laurie disables at least one FP exception on FreeBSD at Python startup time.
-
Martin v. Löwis authored
-
- 27 Dec, 2002 7 commits
-
-
Tim Peters authored
-
Eric S. Raymond authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
operands have identical tzinfo members (meaning object identity -- "is"). I misunderstood the intent here, reading wrong conclusion into conflicting clues.
-
- 26 Dec, 2002 1 commit
-
-
Jack Jansen authored
window) to a combobox listing the known interpreters.
-