Author terry.reedy
Recipients epaine, kj, taleinat, terry.reedy
Date 2021-05-03.10:42:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
My plan for the next day or two is to submit followup issue for Shell and formally code what I wrote.

The only way to handle soft keywords correctly is with a custom re.  I don't expect them to become common.  They are different from builtins because they only have special meaning in (so far) definable situations.  When  builtin is 'redefined, it may or may not be appropriate to keep the highlight.  Examples when it is:

oldprint = print
def print(*args, **kwds:
    log the print
    oldprint(*args, **kwds)

def intsum(nums, int=int):  # Localize int for speed.
    <code that calls int multiple times>
Date User Action Args
2021-05-03 10:42:41terry.reedysetrecipients: + terry.reedy, taleinat, epaine, kj
2021-05-03 10:42:41terry.reedysetmessageid: <>
2021-05-03 10:42:41terry.reedylinkissue44010 messages
2021-05-03 10:42:41terry.reedycreate