This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author izbyshev
Recipients izbyshev, rth
Date 2018-12-06.21:12:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544130747.93.0.788709270274.issue35430@psf.upfronthosting.co.za>
In-reply-to
Content
argparse.SUPPRESS is an opaque value to be used by argparse clients. It could be anything, it just happens to be a string. So the code doesn't compare strings but checks whether a supplied object *is* the opaque value. I do not see any problem with this code, though one way to avoid LGTM diagnostics would be to use a non-string opaque value instead.
History
Date User Action Args
2018-12-06 21:12:27izbyshevsetrecipients: + izbyshev, rth
2018-12-06 21:12:27izbyshevsetmessageid: <1544130747.93.0.788709270274.issue35430@psf.upfronthosting.co.za>
2018-12-06 21:12:27izbyshevlinkissue35430 messages
2018-12-06 21:12:27izbyshevcreate