[issue1704474] test_optparse.py mod. for jython

Greg Ward report at bugs.python.org
Tue Jun 2 02:17:20 CEST 2009


Greg Ward <greg at gerg.ca> added the comment:

I just took a look at the original patch uploaded by drtimcouper.  IMHO
it would be cleaner and simpler to modify optparse.py so that it behaves
as consistently as possible under Jython and CPython.  For example,
optparse should catch the ValueError raised when a user supplies a bad
integer input and raise a new exception with a consistent error message.
 That sort of thing.

drtimcouper: if you're still out there and reading this, would you mind
submitting a new patch?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1704474>
_______________________________________


More information about the Python-bugs-list mailing list