Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use get_resource_path from traits #869

Open
aaronayres35 opened this issue Jan 25, 2021 · 0 comments
Open

Don't use get_resource_path from traits #869

aaronayres35 opened this issue Jan 25, 2021 · 0 comments

Comments

@aaronayres35
Copy link
Contributor

See comment: enthought/traits#1424 (comment)

  • get_resource_path
    This uses evil magic and its use should be avoided if at all possible. Pyface should find a better way of doing whatever it's doing. It's not used within Traits anywhere, and it's not tested anywhere."

Uses are:

from traits.trait_base import get_resource_path

from traits.trait_base import get_resource_path, traits_home

from traits.trait_base import get_resource_path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant