New submission from Daniel Kaplun m...@dvir.us:
In the second example to allow usage of the required field for options,
it seems as if you already have all you need to implement the feature
into optparse. I modified it a bit to allow OptionGroups:
class Option(optparse.Option):
ATTRS
Changes by Daniel Kaplun m...@dvir.us:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6535
___
___
Python-bugs-list
Changes by Daniel Kaplun m...@dvir.us:
--
keywords: +patch
Added file: http://bugs.python.org/file14529/optparse.py.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6535
Changes by Daniel Kaplun m...@dvir.us:
Added file: http://bugs.python.org/file14530/testcase.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6535
Daniel Kaplun m...@dvir.us added the comment:
I have not a single clue how to unit test.
What do you mean by documentation patch? Do you want me to update the
documentation within the file to reflect changes?
--
___
Python tracker rep