Terry Reedy wrote: > "Phillip J. Eby" <pje at telecommunity.com> wrote in message > news:5.1.1.6.0.20070306104954.028deec0 at sparrow.telecommunity.com... >> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4