Terry Reedy wrote: > "Phillip J. Eby" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> I consider it correct, or at the least, don't think it should be changed, >> as it would make the behavior more difficult to reason about and introduce >> yet another thing to worry about when writing cross-version code. > > Windows did not allow .xxx as a filename in my attempts, so this case seems > irrelevant there.
Windows is a bit funny there. You can't create a ".xxx" filename in Explorer, but you can from Console/the API: <code> import os f = open (".xxx", "w") f.close () os.path.isfile (".xxx") # True </code> Not that this helps anything, really, but just to make the point :) TJG _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com