Another option is to clean up the pedantic behaviour. If the warning filters are set when parsing the options, i.e. after 'if options.pedantic:' test, the need for the 'Pedantic' flag and the problem of whether to parse the command line options or initialise the error and warning systems first disappears.
Edward