summaryrefslogtreecommitdiffstats
path: root/Lib/stringprep.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2023-05-02 18:08:19 (GMT)
committerGitHub <noreply@github.com>2023-05-02 18:08:19 (GMT)
commit8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a (patch)
treec06a1f5421944184eb75ccd604ee855aae093c26 /Lib/stringprep.py
parentd81ca7ec029ba05084751c8df64292bb48f4f30f (diff)
downloadcpython-8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a.zip
cpython-8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a.tar.gz
cpython-8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a.tar.bz2
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 'Lib/stringprep.py')
0 files changed, 0 insertions, 0 deletions