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 Antony.Lee
Recipients Antony.Lee, pitrou
Date 2014-06-12.01:42:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have the patch almost ready, but ran into another issue: should "path.with_name('foo/')" be allowed?  It may make sense to treat it like "path.with_name('foo')", just like 'Path("foo/") == Path("foo")'.

The implementation is also simpler with it, as it can reuse the "parse_parts" approach used by "with_suffix".  But this also raises a separate issue, which is that with the current implementation, we have "Path('foo').with_suffix('.bar') == Path('foo').with_suffix('.bar/')", and that is less reasonable.  Should I open a separate issue for that?
Date User Action Args
2014-06-12 01:42:23Antony.Leesetrecipients: + Antony.Lee, pitrou
2014-06-12 01:42:23Antony.Leesetmessageid: <>
2014-06-12 01:42:23Antony.Leelinkissue21714 messages
2014-06-12 01:42:22Antony.Leecreate