Closed
Description
Feature or enhancement
Proposal:
Quoting @eryksun:
The implementation of
path_t
could be generalized to support fields to configure the converter to usewide
regardless of platform, to allow null characters, to allow arbitrary length paths (e.g. no 32767 length limit on Windows), and a new field such asbytes_input
to determine whether a path result has to be converted back tobytes
. The option to always use a wide-character path is a generalization of the current behavior on Windows. Argument Clinic would be extended to support the new options. The implementations of_path_splitroot_ex()
,_path_normpath()
, and_path_abspath()
(if adopted) would benefit, and also the_path_is*()
helpers on Windows.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere