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 ethan.furman
Recipients ethan.furman, pitrou
Date 2016-04-01.03:04:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459479889.57.0.867705716846.issue26684@psf.upfronthosting.co.za>
In-reply-to
Content
The methods .with_name() and .with_suffix() of pathlib.Path (and friends) do not allow a name or suffix to be added to a path alone -- I get ValueError(... has an empty name...).

This is the documented behavior, but it seems incredibly user-unfriendly.
History
Date User Action Args
2016-04-01 03:04:49ethan.furmansetrecipients: + ethan.furman, pitrou
2016-04-01 03:04:49ethan.furmansetmessageid: <1459479889.57.0.867705716846.issue26684@psf.upfronthosting.co.za>
2016-04-01 03:04:49ethan.furmanlinkissue26684 messages
2016-04-01 03:04:49ethan.furmancreate