Message392793
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:41 | terry.reedy | set | recipients:
+ terry.reedy, taleinat, epaine, kj |
2021-05-03 10:42:41 | terry.reedy | set | messageid: <1620038561.46.0.636664627829.issue44010@roundup.psfhosted.org> |
2021-05-03 10:42:41 | terry.reedy | link | issue44010 messages |
2021-05-03 10:42:41 | terry.reedy | create | |
|