enthought / pyface

pyface: traits-capable windowing framework
Other
104 stars 55 forks source link

Expose interfaces in `pyface.api` #1220

Closed corranwebster closed 1 year ago

corranwebster commented 1 year ago

Fixes #702

I'd sort of like to have a separate "interfaces API" module (pyface.interfaces or pyface.i_api?) where these can be imported from without side-effects, but this is good enough for now.

mdickinson commented 1 year ago

Even with a separate pyface.interfaces, I think it would make sense to also expose the interfaces in pyface.api.

corranwebster commented 1 year ago

Even with a separate pyface.interfaces, I think it would make sense to also expose the interfaces in pyface.api.

Agreed, which is why I made this PR and punted on the separate module for now (mainly because naming is hard - I have it implemented).