This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 徐彻
Recipients 徐彻
Date 2020-02-01.03:45:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580528708.47.0.815684087896.issue39515@roundup.psfhosted.org>
In-reply-to
Content
Pathlib won't strip "\n" in path. Of course, "\n" should exist in a legal path.
For example:

>>>a=pathlib.Path(pathlib.Path("C:/Program Files/\n"),"./JetBrains/\n")
>>>a
WindowsPath('C:/Program Files/\n/JetBrains/\n')
History
Date User Action Args
2020-02-01 03:45:08徐彻setrecipients: + 徐彻
2020-02-01 03:45:08徐彻setmessageid: <1580528708.47.0.815684087896.issue39515@roundup.psfhosted.org>
2020-02-01 03:45:08徐彻linkissue39515 messages
2020-02-01 03:45:08徐彻create