> [Off topic] The same seems to be true for pydoc in http-serving mode. > It just imports any .py on sys.path, when doco is requested for it. > Although pydoc is *really* cool, this aspect scares me a bit... > (I guess if the port pydoc is listening to is visible from the outside > world, it better run as a user with very limited permissions, right?) Yes, this bothers me greatly. I hope that someone will fix this. > (Hm, that makes me think that it may be a good practice to name scripts > that are not supposed to be imported so that they *can't* be imported?) Indeedy! (Or make sure they're noy on sys.path. :-) --Guido van Rossum (home page: http://www.python.org/~guido/)
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