New submission from Ethan Furman: 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. ---------- messages: 262717 nosy: ethan.furman, pitrou priority: normal severity: normal status: open title: pathlib.Path.with_name() and .with_suffix do not allow combining with an empty Path type: behavior versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com