- 22 Jan, 2003 5 commits
-
-
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 20 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
-
Martin v. Löwis authored
60: Added support for the SkippedEntityHandler, new in Expat 1.95.4. 61: Added support for namespace prefixes, which can be enabled by setting the "namespace_prefixes" attribute on the parser object. 65: Disable profiling changes for Python 2.0 and 2.1. 66: Update pyexpat to export the Expat 1.95.5 XML_GetFeatureList() information, and tighten up a type declaration now that Expat is using an incomplete type rather than a void * for the XML_Parser type. 67: Clarified a comment. Added support for XML_UseForeignDTD(), new in Expat 1.95.5. 68: Refactor to avoid partial duplication of the code to construct an ExpatError instance, and actually conform to the API for the exception instance as well. 69: Remove some spurious trailing whitespace. Add a special external-entity-ref handler that gets installed once a handler has raised a Python exception; this can cancel actual parsing earlier if there's an external entity reference in the input data after the the Python excpetion has been raised. 70: Untabify APPEND. 71: Backport PyMODINIT_FUNC for 2.2 and earlier.
-
Martin v. Löwis authored
-
Kurt B. Kaiser authored
(Loewis) which uses 'SRCDIR' (if available) in package dir path. 2. Merge Python IDLE setup.py Rev 1.5 (Loewis) to allow installation from the build directory. IDLEfork SF Patch 668998 (Loewis)
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
* promote the example and the documented restrictions to \subsection status * document the flag parameter of the DbfilenameShelf class
-
- 20 Jan, 2003 7 commits
-
-
Tim Peters authored
When daylight time ends, an hour repeats on the local clock (for example, in US Eastern, the clock jumps from 1:59 back to 1:00 again). Times in the repeated hour are ambiguous. A tzinfo subclass that wants to play with astimezone() needs to treat times in the repeated hour as being standard time. astimezone() previously required that such times be treated as daylight time. There seems no killer argument either way, but Guido wants the standard-time version, and it does seem easier the new way to code both American (local-time based) and European (UTC-based) switch rules, and the astimezone() implementation is simpler.
-
Tim Peters authored
was broken because new-in-2.3 code added a tp_as_mapping slot to tuples. Repaired that. Added basic docs to check_recursion(). The code that intended to exempt tuples and strings was also broken here, and in 2.2: these should use PyXYZ_CheckExact(), not PyXYZ_Check() -- we can't know whether subclass instances are immutable. This part (and this part alone) is a bugfix candidate.
-
Jack Jansen authored
framework, if applicable). This speeds up startup time by up to 50%.
-
Just van Rossum authored
- clear clears the entire buffer - cut doesn't cut, but copies.
-
Kurt B. Kaiser authored
which had empty method and super attributes. ClassBrowser.IsExpandable() could not handle the missing attributes. SF Bug 667787.
-
Walter Dörwald authored
-
Barry Warsaw authored
-
- 19 Jan, 2003 8 commits
-
-
Walter Dörwald authored
with additional tests for setdefault(), pop() and popitem().
-
Jack Jansen authored
FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
-
Jack Jansen authored
and spaces. Detabbed the lot.
-
Walter Dörwald authored
cases and a few methods. This increases code coverage in Objects/unicodeobject.c from 81% to 85%. (From SF patch #662807)
-
Walter Dörwald authored
port the tests to PyUnit and add many tests for error cases. This increases code coverage in Python/bltinmodule.c from 75% to 92%. (From SF patch #662807, with assert_(not fcmp(x, y)) replaced with assertAlmostEqual(x, y) where possible)
-
Neal Norwitz authored
Will backport.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
the end of code blocks. Patch contributed by Patrick O'Brien.
-