1. 13 Feb, 2019 6 commits
  2. 12 Feb, 2019 4 commits
  3. 11 Feb, 2019 4 commits
  4. 10 Feb, 2019 5 commits
  5. 09 Feb, 2019 4 commits
  6. 08 Feb, 2019 4 commits
  7. 07 Feb, 2019 5 commits
  8. 06 Feb, 2019 1 commit
  9. 05 Feb, 2019 6 commits
  10. 04 Feb, 2019 1 commit
    • Paul Ganssle's avatar
      bpo-32417: Make timedelta arithmetic respect subclasses (#10902) · 89427cd0
      Paul Ganssle authored
      * Make timedelta return subclass types
      
      Previously timedelta would always return the `date` and `datetime`
      types, regardless of what it is added to. This makes it return
      an object of the type it was added to.
      
      * Add tests for timedelta arithmetic on subclasses
      
      * Make pure python timedelta return subclass types
      
      * Add test for fromtimestamp with tz argument
      
      * Add tests for subclass behavior in now
      
      * Add news entry.
      
      Fixes:
      bpo-32417
      bpo-35364
      
      * More descriptive variable names in tests
      
      Addresses Victor's comments
      89427cd0