[issue37963] No URL for docs of pth files
New submission from Thomas Güttler : if you google for "python pth" you get to the "sites" docs. It would be very nice if you could create a direct URL to the docs of pth files. This makes it easier to point new comers into the right direction if you answer questions at stackoverflow (or other places). See: https://www.google.com/search?q=python+pth -- messages: 350634 nosy: Thomas Güttler priority: normal severity: normal status: open title: No URL for docs of pth files ___ Python tracker <https://bugs.python.org/issue37963> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26433] urllib.urlencode() does not explain how to handle unicode
New submission from Thomas Güttler: The current docs for Python2, don't explain how to handle unicode: https://docs.python.org/2/library/urllib.html#urllib.urlencode It seems to be a common problem. See http://stackoverflow.com/questions/6480723/urllib-urlencode-doesnt-like-unicode-values-how-about-this-workaround It would be nice to document the most pythonic way to handle unicode in urllib.urlencode() -- assignee: docs@python components: Documentation messages: 260845 nosy: Thomas Güttler, docs@python priority: normal severity: normal status: open title: urllib.urlencode() does not explain how to handle unicode versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue26433> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23625] load_module() docs: zipped eggs are not loaded.
New submission from Thomas Güttler: Please update the docs of imp.find_module() https://docs.python.org/2/library/imp.html#imp.find_module zipped egg files in sys.path are not found. Please provide a link how to find modules in sys.path like the interpreter does (with support of zipped egg files). -- messages: 237746 nosy: Thomas Güttler priority: normal severity: normal status: open title: load_module() docs: zipped eggs are not loaded. ___ Python tracker <http://bugs.python.org/issue23625> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24135] Policy for altering sys.path
New submission from Thomas Güttler: I am missing a policy how sys.path should be altered. We run a custom sub class of list in sys.path. We set it in sitecustomize.py This instance get replace by a common list in lines like this: sys.path = glob.glob(os.path.join(WHEEL_DIR, "*.whl")) + sys.path The above line is from pip, it similar things happen in a lot of packages. Before trying to solve this with code, I think the python community should agree an a policy for altering sys.path. What can I do to this done? We use Python 2.7. -- messages: 242664 nosy: Thomas Güttler priority: normal severity: normal status: open title: Policy for altering sys.path ___ Python tracker <http://bugs.python.org/issue24135> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24259] tar.extractall() does not recognize unexpected EOF
New submission from Thomas Güttler: The Python tarfile library does not detect a broken tar. user@host$ wc -c good.tar 143360 good.tar user@host$ head -c 13 good.tar > cut.tar user@host$ tar -tf cut.tar ... tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now Very nice, the command line tool recognizes an unexpected EOF. user@host$ python Python 2.7.6 (default, Mar 22 2014, 22:59:56) >>> import tarfile >>> tar=tarfile.open('cut.tar') >>> tar.extractall() Not nice. The Python library decodes the file, but raises no exception. Is this a bug or feature? Source: http://stackoverflow.com/questions/30302204/tar-extractall-does-not-recognize-unexpected-eof ------ messages: 243755 nosy: Thomas Güttler priority: normal severity: normal status: open title: tar.extractall() does not recognize unexpected EOF ___ Python tracker <http://bugs.python.org/issue24259> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com