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
The path length limitation has been increased to 32767 since Windows 10 version 1607 with a registry setting.
Additionally, during Python installation, there is an option disable path length limit which helps achieve this.
I think it’s more reasonable to update this limitation from 260 to 32767 or provide a configuration option.
The text was updated successfully, but these errors were encountered:
@fthmko
Thank you for your feedback.
However, I don't think it's appropriate to change the default value at this time because long paths require support on the app side.
The maximum path length can be changed with the max_len argument of the functions.
Is that not enough?
Thank you for your reply, I respect your decision.
However, another argument or configuration is also necessary.
At this time, the max_len argument in validate_filepath will be overridden by min(self._max_len, platform_max_len) in the BaseFile class. The value of platform_max_len argument is set to the platform's default because it's not exposed.
As a result, larger value will not have any effect.
To validate long paths, I have to modify the internal _max_len, which isn't an ideal practice.
That is certainly true.
However, changing this behavior would be a breaking change, so even if it is fixed, it will probably be in the next major version update (v4).
The path length limitation has been increased to 32767 since Windows 10 version 1607 with a registry setting.
Additionally, during Python installation, there is an option
disable path length limit
which helps achieve this.I think it’s more reasonable to update this limitation from 260 to 32767 or provide a configuration option.
The text was updated successfully, but these errors were encountered: