aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2023-05-02 19:08:19 +0100
committerGitHub <noreply@github.com>2023-05-02 19:08:19 +0100
commit8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a (patch)
treec06a1f5421944184eb75ccd604ee855aae093c26 /Python/sysmodule.c
parentd81ca7ec029ba05084751c8df64292bb48f4f30f (diff)
downloadcpython-8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a.tar.gz
cpython-8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a.zip
GH-103525: Improve exception message from `pathlib.PurePath()` (GH-103526)
Check that arguments are strings before calling `os.path.join()`. Also improve performance of `PurePath(PurePath(...))` while we're in the area: we now use the *unnormalized* string path of such arguments. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions