Terry J. Reedy added the comment:
I agree. The resolution is that help fails for objects that do not exist on
the platform. We do not supply non-functional dummy objects that only exist to
document non-support. Any objects with undocumented platform-specific behavior
should be handled on a
Mark Lawrence added the comment:
As there was no reply to msg109130 (nearly five years ago) can we close this as
won't fix?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6824
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6824
___
Terry J. Reedy tjre...@udel.edu added the comment:
WIth the help output that they provide, how am I supposed to know that
os.fork is only supported on Unix.
On windows, os.fork does not exist, so help(os.fork) fails, so it is obvious to
me that it is not available on Windows ;-).
help(winreg)
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
What makes you think that the tempfile module is not cross-platform?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6824
___
Ritesh Raj Sarraf r...@researchut.com added the comment:
I never said that I think it is not cross-platform.
My point is, it should be good to list down a module's dependency in the
python help docs.
Like:
tempfile
Supported Platforms: ALL
Exception: On Platform foo, feature tempfile.bar() is
Terry J. Reedy tjre...@udel.edu added the comment:
*most* modules are platform independent, and for those, I do not think
anything needs to be said.
I agree with OP that it would be nice if interactive help indicated
platform dependencies, if and when such is not done now. I have no idea
if
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I'm not sure to understand. The web page says the module works on all
supported platforms. Many python features works equally well on all
platforms, and I don't feel necessary to repeat this everywhere.
The differences between
Ritesh Raj Sarraf r...@researchut.com added the comment:
Take help os or help os.fork for example.
WIth the help output that they provide, how am I supposed to know that
os.fork is only supported on Unix.
We can also go with the assumption that the modules shipped are
cross-platform. But then,
New submission from Ritesh Raj Sarraf r...@researchut.com:
Whey I do a help (python-module), I get the help text as follows:
Help on module tempfile:
NAME
tempfile - Temporary files.
FILE
/usr/lib/python2.5/tempfile.py
MODULE DOCS
Changes by Ritesh Raj Sarraf r...@researchut.com:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6824
___
___
11 matches
Mail list logo