1. 25 Aug, 2015 11 commits
  2. 24 Aug, 2015 6 commits
  3. 22 Aug, 2015 10 commits
  4. 21 Aug, 2015 10 commits
  5. 20 Aug, 2015 3 commits
    • Kevin Modzelewski's avatar
      Call tp_init in typeCall for extension classes · 3a8884ed
      Kevin Modzelewski authored
      Actually, for now in all cases unless __init__ is a Python function.
      3a8884ed
    • Kevin Modzelewski's avatar
      Improve exception-matching speed · 4008df8e
      Kevin Modzelewski authored
      - Add a has_subclasscheck class slot
      - Add a fast path for when the exception matches exactly (though
        we have to check that there isn't a metaclass involved first).
      4008df8e
    • Kevin Modzelewski's avatar
      Change exceptions to hcattrs · 527b1694
      Kevin Modzelewski authored
      The rest of our builtin types use our "hc attrs" (hidden-class-based attribute
      storage), but we use the CPython implementation of exceptions which ask for
      dict attributes.  So, expose our hcattrs via the C API and change the exceptions
      classes to use it.
      
      Hopefully we can eventually find some more general way of providing this feature
      (ex for all string-keyed dicts) without needing these changes.
      527b1694