- 06 Mar, 2007 13 commits
-
-
Georg Brandl authored
-
Guido van Rossum authored
fractional times. With unittest. Somebody please backport to 2.5.
-
Skip Montanaro authored
-
Martin v. Löwis authored
in HTMLParser.
-
Georg Brandl authored
using "python -m doctest [-v] filename ...".
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Georg Brandl authored
"extending and embedding" tutorial.
-
Georg Brandl authored
-
- 05 Mar, 2007 3 commits
-
-
Georg Brandl authored
sq_ass_slice instead of the sq_slice slot.
-
Facundo Batista authored
-
Neal Norwitz authored
-
- 04 Mar, 2007 3 commits
-
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Georg Brandl authored
-
- 02 Mar, 2007 3 commits
-
-
Georg Brandl authored
-
Raymond Hettinger authored
-
Georg Brandl authored
-
- 01 Mar, 2007 3 commits
-
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
-
Raymond Hettinger authored
-
- 28 Feb, 2007 4 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Brett Cannon authored
-
Armin Rigo authored
it.
-
- 27 Feb, 2007 6 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
We add some new rules that are required for preserving internal invariants of types. 1. If type (or a subclass of type) appears in bases, it must appear before any non-type bases. If a non-type base (like a regular new-style class) occurred first, it could trick type into allocating the new class an __dict__ which must be impossible. 2. There are several checks that are made of bases when creating a type. Those checks are now repeated when assigning to __bases__. We also add the restriction that assignment to __bases__ may not change the metaclass of the type. Add new tests for these cases and for a few other oddball errors that were no previously tested. Remove a crasher test that was fixed. Also some internal refactoring: Extract the code to find the most derived metaclass of a type and its bases. It is now needed in two places. Rewrite the TypeError checks in test_descr to use doctest. The tests now clearly show what exception they expect to see.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Note that ast.c still has a mix of tabs and spaces, because it attempts to use four-space indents for more of the new code.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Reported by Mike Verdone.
-
- 26 Feb, 2007 5 commits
-
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
are gone.
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
This duplicates the behavior whening normally printing exceptions.
-
Jeremy Hylton authored
-