Page MenuHomeSolus

Update python-rope to 0.17.0 and remove python2 support

Authored by algent on Fri, Jun 26, 7:35 PM.



spyder is deprecated. Python2 support no longer needed.


  • Use context manager for open()
  • Don’t use UserDict (!!!) and collections.MutableMapping.
  • assertEquals has been deprecated for long time (-> assertEqual)
  • Remove weird escpaing of s character, which is the syntax error these days.
  • Fix pattern for matching short strings.
  • Work with deprecated types and using aliased ones.
  • Don't use underscored _ast, but use ast instead.
  • Direct import from collections is getting deprecated.
  • Use .is_alive method instead of a deprecated .isAlive in threading.Thread.
  • Fix simple typo: sitaution -> situation
  • Two more assertEquals happened.
  • Python 3.8 support

Signed-off-by: Algent Albrahimi <>

Test Plan

Run some python scripts in spyder3

Diff Detail

R3706 python-rope
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Fri, Jun 26, 7:35 PM
algent requested review of this revision.Fri, Jun 26, 7:35 PM
JoshStrobl accepted this revision.Wed, Jul 8, 3:42 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Jul 8, 3:42 PM
This revision was automatically updated to reflect the committed changes.