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 vstinner
Recipients Roee Nizan, brett.cannon, serhiy.storchaka, steven.daprano, vstinner, wolma
Date 2019-08-21.10:51:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Rather than adding a new function, why not adding a parameter like sort(key=func, reverse=True)? Something like fnmatch.filterfalse(pat, invert=True)?

The Unix grep command has a --invert-match option:

       -v, --invert-match
              Invert the sense of matching, to select non-matching lines.

The Unix find and test commands use "!" to invert a condition. Example:

   find ! -name "*.py"  # list files which doesn't match ".py"
   test ! -e   # true if doesn't exist
Date User Action Args
2019-08-21 10:51:02vstinnersetrecipients: + vstinner, brett.cannon, steven.daprano, serhiy.storchaka, wolma, Roee Nizan
2019-08-21 10:51:02vstinnersetmessageid: <>
2019-08-21 10:51:02vstinnerlinkissue30413 messages
2019-08-21 10:51:01vstinnercreate