You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, resources are accessed via a package's __file__ or __path__ attribute. As of Python 3.7 there is a standardized way in which this can be handled in Python, namely via importlib.resources. I suggest dropping support for Python 3.6 and refactoring the code relying on __file__ and/or __path__ to use the new mechanism, but I'd like to hear other people's thoughts about this as well.
The text was updated successfully, but these errors were encountered:
Right now, resources are accessed via a package's
__file__
or__path__
attribute. As of Python 3.7 there is a standardized way in which this can be handled in Python, namely viaimportlib.resources
. I suggest dropping support for Python 3.6 and refactoring the code relying on__file__
and/or__path__
to use the new mechanism, but I'd like to hear other people's thoughts about this as well.The text was updated successfully, but these errors were encountered: