enthought / apptools

Other
37 stars 24 forks source link

Use pyface.undo in apptools.undo #271

Closed rahulporuri closed 3 years ago

rahulporuri commented 3 years ago

At the moment, apptools.undo defines all of the relevant classes but raises a deprecating warning - and recommends users to use pyface.undo instead of the relevant apptools.undo modules.

While this is a good place to start, this is not enough. What we really want is to remove all definitions of classes from apptools.undo modules and simply import them from pyface.undo. This will ensure that the code remains backwards compatible if projects use apptools.undo.* objects together with pyface.undo.* objects, making it easy to update their imports.