GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Highlight PEP 810 soft keyword `lazy` only with `lazy import` / `lazy from` · Issue #276 · MagicStack/MagicPython Open DescriptionSummaryPython 3.15 adds deferred / lazy imports (What’s New in Python 3.15 – Lazy imports, PEP 810).
lazy import foo lazy from foo import bar In all other positions it remains a normal identifier (e.g. VS Code / VSCodium themes such as Dark Modern already color Requested changeDo not add Optionally capture Example (MagicPython - begin: \b(?<!\.)(?:(lazy)\s+)?(from)\b(?=.+import) beginCaptures: '1': {name: keyword.control.import.lazy.python} '2': {name: keyword.control.import.python} - begin: \b(?<!\.)(?:(lazy)\s+)?(import)\b beginCaptures: '1': {name: keyword.control.import.lazy.python} '2': {name: keyword.control.import.python} Test cases
ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |