- 30 Dec, 2002 3 commits
-
-
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 10 commits
-
-
Jack Jansen authored
window) to a combobox listing the known interpreters.
-
Jack Jansen authored
-
Jack Jansen authored
correct FSSpec implementations.
-
Jack Jansen authored
Carbon.File version, so the old method names work.
-
Jack Jansen authored
MethodGenerator, this should be OSErrMethodGenerator.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Neal Norwitz authored
-
Tim Peters authored
subtraction, work as documented. In the Python implementation, they weren't calling utcoffset() if both operands had the same tzinfo object. That's fine if it so happens that the shared tzinfo object returns a fixed offset (independent of operand), but can give wrong results if that's not so, and the latter obtains in a tzinfo subclass instance trying to model both standard and daylight times. The C implementation was already doing this "correctly", so we're just adding tests to verify it.
-
- 25 Dec, 2002 3 commits
-
-
Just van Rossum authored
-
Jack Jansen authored
on OSX then the actual error (file not found) was obscured by the error message that tried to be helpful about the allowed arguments. Fixed.
-
Jack Jansen authored
normal 2.3 framework install) and MacPython-OSX-$(VERSION) (for the experimental Jaguar addon install).
-