Page MenuHomeSolus

Update python-future to 0.17.0
ClosedPublic

Authored by algent on Oct 16 2019, 6:35 PM.

Details

Summary

Update to 0.17.0

Changelog:

This is a major bug-fix release, including:

  • Fix from collections import ChainMap after install_aliases() (issue
  • Fix multiple import from __future__ bug in futurize
  • Add support for proper %s formatting of newbytes
  • Properly implement iterator protocol for newrange object
  • Fix past.translation on read-only file systems
  • Fix Tkinter import bug introduced in Python 2.7.4
  • Correct TypeError to ValueError in a specific edge case for newrange
  • Support inequality tests betwen newstrs and newbytes
  • Add type check to __get__ in newsuper
  • Fix fix_division_safe to support better conversion of complex expressions, and skip obvious float division.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

Run glances which has python-future as rundep.

Diff Detail

Repository
R3472 python-future
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Oct 16 2019, 6:35 PM
algent requested review of this revision.Oct 16 2019, 6:35 PM
JoshStrobl accepted this revision.Oct 18 2019, 10:12 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Oct 18 2019, 10:12 AM
This revision was automatically updated to reflect the committed changes.