1. 21 Aug, 2015 10 commits
  2. 20 Aug, 2015 4 commits
  3. 19 Aug, 2015 3 commits
  4. 18 Aug, 2015 18 commits
  5. 17 Aug, 2015 5 commits
    • Kevin Modzelewski's avatar
      Merge pull request #846 from kmod/tp_as_number_fix · 1b9d802e
      Kevin Modzelewski authored
      Copy tp_as_number *after* commonClassSetup
      1b9d802e
    • Kevin Modzelewski's avatar
      Fix None.__format__ · e497a265
      Kevin Modzelewski authored
      Was a descriptor issue where we were interpreting 'None' as 'no argument'.
      I think this only gets triggered when pip has to do a http retry, which is
      why it only sporadically made the tests fail.
      e497a265
    • Kevin Modzelewski's avatar
      Pass NULL instead of None for descriptors · 37ac4adb
      Kevin Modzelewski authored
      To specify the lack of the second argument.  This improves compatibility
      when applying descriptors to the None object itself.
      
      This was showing up since we were trying to call None.__format__
      37ac4adb
    • Kevin Modzelewski's avatar
      Merge pull request #843 from Daetalus/sys_info · 4d3abb84
      Kevin Modzelewski authored
      Add float_info to sys module, and rewrite version_info use SequenceStructure
      4d3abb84
    • Kevin Modzelewski's avatar
      Copy tp_as_number *after* commonClassSetup · bd252e34
      Kevin Modzelewski authored
      This is important because commonClassSetup will modify tp_as_number
      if it exists.  This causes an issue when an extension class uses
      multiple inheritance; it will inherit the tp_as_number from its
      main base, but then copy in any fields from its secondary bases. But
      tp_as_number points to the same struct as its parent, so it would
      update the parent's slots accidentally.
      
      So, move the tp_as_number copying to where CPython does it, or at least,
      after the calls to inherit_slots.
      bd252e34