Re: [PATCH v2 3/4] perf test: Suppress optparse deprecation warning with older pylint
From: Leo Yan
Date: Thu Oct 01 2026 - 12:04:05 EST
On Wed, Sep 30, 2026 at 10:39:36AM -0700, Ian Rogers wrote:
[...]
> > -import optparse
> > +# Pylint before 3.3.5 still treats optparse as deprecated.
> > +import optparse # pylint: disable=deprecated-module
>
> Thanks Leo! Could we just update to argparse here?
Thanks for suggestion. Please see the new patch:
https://lore.kernel.org/linux-perf-users/20261001-perf_replace_optparse_with_argparse-v1-1-268b604f8e55@xxxxxxx/T/#u