[Guido] > This just shows that having the current directory on sys.path > (especially at the front) causes problems. I thought it showed I shouldn't be so careless when synching machines, but I'll take an excuse to blame Python instead <wink>. Still, it's something that would not have happened had I needed to prefix the import of the standard textwrap with a "standard" name -- or of my private textwrap with a "non-standard" name. Putting the current directory in sys.path is just too useful to give up. I suspect that putting it specifically at the front is only "a feature" for Python library developers, though, and "a bug" for others -- end users stumble into this a lot by unhappy accident, like when creating a random.py to hold their initial experiments with Python's random-number facilities.
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