1. 28 Şub, 2007 4 kayıt (commit)
  2. 27 Şub, 2007 6 kayıt (commit)
    • Jeremy Hylton's avatar
    • Jeremy Hylton's avatar
      Add checking for a number of metaclass error conditions. · fa955697
      Jeremy Hylton yazdı
      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.
      fa955697
    • Jeremy Hylton's avatar
      whitespace normalization · 2d1f5c93
      Jeremy Hylton yazdı
      2d1f5c93
    • Jeremy Hylton's avatar
      tabify · 819de6ce
      Jeremy Hylton yazdı
      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.
      819de6ce
    • Jeremy Hylton's avatar
      tabify · 18623e25
      Jeremy Hylton yazdı
      18623e25
    • Jeremy Hylton's avatar
      Fix long-standing bug in name mangling for package imports · 37075c5a
      Jeremy Hylton yazdı
      Reported by Mike Verdone.
      37075c5a
  3. 26 Şub, 2007 11 kayıt (commit)
  4. 25 Şub, 2007 7 kayıt (commit)
  5. 23 Şub, 2007 2 kayıt (commit)
  6. 21 Şub, 2007 2 kayıt (commit)
  7. 19 Şub, 2007 8 kayıt (commit)