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
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
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
http://www.python.org/doc/2.5.4/lib/module
Changes by Ritesh Raj Sarraf r...@researchut.com:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6824
___
___
Python
Ritesh Raj Sarraf r...@researchut.com added the comment:
I'm not sure about the design part, but as a user, I find both to have very
similar interfaces.
argparse is better because it handles nargs=*. This has long been
asked in optparse. Positional arguments is something I wanted recently
New submission from Ritesh Raj Sarraf r...@researchut.com:
Shoudl argparse be included in the Python Standard Library.
I know we already have getopt and optparse but optparse doesn't
support many features easily. (like options without hyphen, nargs=*)
Here a little about argparse:
argparse
Ritesh Raj Sarraf r...@researchut.com added the comment:
From the author, Steven Berthard:
Sorry about the delay - conferences and moving means that I haven't
had as much time for argparse as I'd like. Basically, the way things
get into the Python standard library
Ritesh Raj Sarraf r...@researchut.com added the comment:
Thanks for the link. As a user, I see many of the features that argparse
brings, to be helpful.
Since they are missing in optparse, and since it doesn't look like
argparse will be included, should I open new bugs for those features