- 21 Jan, 2003 5 commits
-
-
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 14 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.
-
Raymond Hettinger authored
Backport candidate. All but one or two of these changes are applicable to 2.2.2.
-
Raymond Hettinger authored
Make the code slightly shorter, faster, and easier to read. * Eliminate unused DUP_TOPX code for x==1. compile.c always generates DUP_TOP instead. * Since only two cases remain for DUP_TOPX, replace the switch-case with if-elseif. * The in-lined integer compare does a CheckExact on both arguments. Since the second is a little more likely to fail, test it first. * The switch-case for IS/IS_NOT and IN/NOT_IN can separate the regular and inverted cases with no additional work. For all four paths, saves a test and jump.
-
Tim Peters authored
var for clarity.
-
Tim Peters authored
From Brett Cannon. Mostly speedups via caching format string -> compiled regexp.
-
Raymond Hettinger authored
The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard.
-
Raymond Hettinger authored
Gernot Hillier added more detail to the internal API documentation.
-
- 18 Jan, 2003 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard.
-
Tim Peters authored
Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost.
-
- 17 Jan, 2003 11 commits
-
-
Jack Jansen authored
- AskFileForSave didn't work for string return values - filterProc didn't work.
-
Jack Jansen authored
the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
-
Fred Drake authored
-
Fred Drake authored
-
Tim Peters authored
Not anymore it ain't.
-
Fred Drake authored
sometimes.
-
Tim Peters authored
function can't handle, don't raise IOError -- that doesn't make sense. Raise ValueError instead. Bugfix candidate.
-
Just van Rossum authored
-
Raymond Hettinger authored
* Use Sets module to more clearly articulate a couple of tests.
-
Raymond Hettinger authored
-
Jack Jansen authored
-