[issue11831] "pydoc -w" causes "no Python documentation found" error when the path is not current directory

2022-01-25 Thread Irit Katriel


Irit Katriel  added the comment:

Closed Issue31305 as a duplicate of this.

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11831] "pydoc -w" causes "no Python documentation found" error when the path is not current directory

2020-10-22 Thread Éric Araujo

Éric Araujo  added the comment:

pydoc help:

  pydoc -w  ...
Write out the HTML documentation for a module to a file in the current
directory. […]

So there is no support for not using the current directory, probably on purpose 
in order to use the current-dir-in-sys.path trick, so I’m not sure if this 
should be addressed.

(These days I would be more worried about src directories, which I’ve just 
tested are not handled well by pydoc, but that would be a different ticket.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11831] pydoc -w causes no Python documentation found error when the path is not current directory

2011-04-15 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo, ron_adam
title: python -w causes no Python documentation found error when the path 
is not current directory - pydoc -w causes no Python documentation found 
error when the path is not current directory

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11831
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com