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
In the past when introducing the extensions API, one point that was controversial was the usage of either lists of file path parts or strings using the forward slash as separator for helpers.ensure and helpers.reject.
It was suggested that we could use pathlib.Path to simplify the code.
Now that we run on Python 3 and pathlib is part of the standard library we can discuss more about that.
Since it breaks the API, if we go for this approach, we would have to start deprecating it now so we can include it in the next major release.
The text was updated successfully, but these errors were encountered:
In the past when introducing the extensions API, one point that was controversial was the usage of either lists of file path parts or strings using the forward slash as separator for
helpers.ensure
andhelpers.reject
.It was suggested that we could use
pathlib.Path
to simplify the code.Now that we run on Python 3 and
pathlib
is part of the standard library we can discuss more about that.Since it breaks the API, if we go for this approach, we would have to start deprecating it now so we can include it in the next major release.
The text was updated successfully, but these errors were encountered: