Re: Worarrounding hardcoded Option class in optparse in Python 2.3

2006-07-27 Thread Pupeno
For the record, the copy and paste fix seems to have worked, so far. Pupeno wrote: > Hello, > I am doing some extreme use of optparse, that is, extending it as > explained on > http://docs.python.org/lib/optparse-other-reasons-to-extend-optparse.html > I have subclassed OptionParser and Option. M

Worarrounding hardcoded Option class in optparse in Python 2.3

2006-07-26 Thread Pupeno
Hello, I am doing some extreme use of optparse, that is, extending it as explained on http://docs.python.org/lib/optparse-other-reasons-to-extend-optparse.html I have subclassed OptionParser and Option. MyOptionParser uses MyOption as option_class and in Python 2.4 it works. But I have to target Py