1. 03 Mar, 2015 2 commits
    • Kevin Modzelewski's avatar
      Rearrange some class creation and initialization functions · dad2675f
      Kevin Modzelewski authored
      Our class-creation code is getting pretty unruly, since there
      are four places we can create new classes:
      1) extension classes
      2) Python-defined classes
      3) builtin-defined classes
      4) classes created during bootstrapping
      
      Then, there are multiple different sets of initialization functions
      that can be called, each of which initializes different sets of the
      class attributes.  It's not easy to tell what a given initialization
      function should actually initialize.
      
      This change just cleans this up slightly: it renames PystonType_Ready
      to commonClassSetup to hopefully be more clear about its goal, as well
      as adds a BoxedClass::finishInitialization() function.
      
      It also moves some work out of the BoxedClass() constructor, since
      this causes issues because it happens before the BoxedHeapClass()
      constructor runs, which sets certain class slots that affect other
      parts of class initialization.
      
      Things are still pretty complicated but this should help with the
      multiple inheritance changes that are coming.
      dad2675f
    • Kevin Modzelewski's avatar
      Merge pull request #340 from rntz/master · 53dc9612
      Kevin Modzelewski authored
      add tests for "[] = []", "2 = 2"; currently we core dump on these
      53dc9612
  2. 02 Mar, 2015 14 commits
  3. 01 Mar, 2015 1 commit
  4. 28 Feb, 2015 8 commits
  5. 27 Feb, 2015 11 commits
  6. 26 Feb, 2015 4 commits