- 24 Jan, 2003 9 commits
-
-
Barry Warsaw authored
docstring). Even if ignore_errors was true, an exception would occur if path didn't exist.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Jack Jansen authored
MacPython-OS9 has had an abort() function for quite a while now, so there's no reason to stall in an endless loop, just call abort() on a fatal error.
-
Jack Jansen authored
MacPython-OS9 specific fix: If there are non-string items on sys.path don't try to intern them. This has the theoretical problem that resource filenames on sys.path cannot be unicode objects, but in practice that shouldn't matter.
-
Tim Peters authored
latest bsddb release without strong cryptography).
-
Guido van Rossum authored
executable.
-
Jack Jansen authored
of getargs() and mkvalue().
-
Tim Peters authored
changes (and there were a lot of relevant changes!).
-
- 23 Jan, 2003 7 commits
-
-
Neal Norwitz authored
-
Tim Peters authored
This gives much the same treatment to datetime.fromtimestamp(stamp, tz) as the last batch of checkins gave to datetime.now(tz): do "the obvious" thing with the tz argument instead of a senseless thing.
-
Tim Peters authored
-
Jeremy Hylton authored
Removing locking are findCaller() calls as the implementation using sys._getframe() is thread-safe. Changes reviewed by Vinay.
-
Jeremy Hylton authored
The test no longer produces output with \r\n in it.
-
Tim Peters authored
-
Tim Peters authored
checked in two days agao: Refactoring of, and new rules for, dt.astimezone(tz). dt must be aware now, and tz.utcoffset() and tz.dst() must not return None. The old dt.astimezone(None) no longer works to change an aware datetime into a naive datetime; use dt.replace(tzinfo=None) instead. The tzinfo base class now supplies a new fromutc(self, dt) method, and datetime.astimezone(tz) invokes tz.fromutc(). The default implementation of fromutc() reproduces the same results as the old astimezone() implementation, but tzinfo subclasses can override fromutc() if the default implementation isn't strong enough to get the correct results in all cases (for example, this may be necessary if a tzinfo subclass models a time zone whose "standard offset" (wrt UTC) changed in some year(s), or in some variations of double-daylight time -- the creativity of time zone politics can't be captured in a single default implementation).
-
- 22 Jan, 2003 10 commits
-
-
Skip Montanaro authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Raymond Hettinger authored
-
Martin v. Löwis authored
Return booleans from _tkinter.getboolean. Convert booleans to Tcl booleans in AsObj.
-
Martin v. Löwis authored
-
Tim Peters authored
tzinfo.fromutc() method. The C code doesn't implement any of this yet (well, not the C code on the machine I'm using now), nor does the test suite reflect it. The Python datetime.py implementation and test suite in the sandbox do match these doc changes. The C implementation probably won't catch up before Thursday (Wednesday is a scheduled "black hole" day this week <0.4 wink>).
-
Raymond Hettinger authored
Sebastien Keim pointed out that iterkeys and __contains__ require their own definitions so their behavior will update when the underlying method is subclassed.
-
Kurt B. Kaiser authored
consistent with the Edit/Shell windows.
-
Kurt B. Kaiser authored
M PyShell.py M config-keys.def M configHandler.py 1. Clear any un-entered characters from input line before printing the restart boundary. 2. Restore the Debug menu: There are now both Shell and Debug menus. 3. Add Control-F6 keybinding to Restart Shell. 4. Clarify PyShell.cancel_check() comment. 5. Update doc string for Bindings.py and re-format the file slightly.
-
- 21 Jan, 2003 14 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
-
Guido van Rossum authored
it, so disable the build for now.
-
Tim Peters authored
tzinfo dst() should return timedelta(0) if DST is not effect, not 0.
-
Jack Jansen authored
dialogs.
-
Jack Jansen authored
-
Jack Jansen authored
filenames.
-
Jack Jansen authored
help.
-
Andrew M. Kuchling authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Martin v. Löwis authored
-