[Python-ideas] PEP 428: poll about the joining syntax

Steven D'Aprano steve at pearwood.info
Tue Oct 9 10:43:51 CEST 2012


On Tue, Oct 09, 2012 at 11:35:54AM +0300, Serhiy Storchaka wrote:
> On 09.10.12 05:42, Steven D'Aprano wrote:
> >p + ".ext" to add a suffix to the file name; an error if p is a
> >directory.
> 
> Why? A directory can have a suffix. E.g. /etc/init.d.

Fair point.


-- 
Steven



More information about the Python-ideas mailing list