On 8/10/2019 10:30 PM, Rob Cliffe via Python-Dev wrote:


On 10/08/2019 23:30:18, Greg Ewing wrote:
Rob Cliffe via Python-Dev wrote:

Also, the former is simply more *informative* - it tells the reader that baz is expected to be a directory, not a file.

On Windows you can usually tell that from the fact that filenames
almost always have an extension, and directory names almost never
do.

Usually, but not always.  I have not infrequently used files with a blank extension. I can't recall using a directory name with an extension (but I can't swear that I never have).

I most commonly see this with bare git repositories <reponame>.git. And I've created directory names with "extensions" for my own use.

Eric
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/PJ4TPHOY6ZIWI5CQ56J3BYWTEBFYNMJU/

Reply via email to