New submission from Jan Pobrislo <c...@volny.cz>: When using OptionParser.format_help(formatter), the formatter parameter should be used to format all of the help message. This is not the case for usage message, as the method get_usage() is not passed the formatter and always uses self.formatter. I'm using python-2.6.2-r1.
---------- components: Extension Modules files: fix_optparse_usage_formatter.diff keywords: patch messages: 89202 nosy: ccx severity: normal status: open title: optparse.OptionParser.get_usage uses wrong formatter type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file14254/fix_optparse_usage_formatter.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com