GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Getting invalid.illegal.name.python on valid python code from textmate · Issue #252 · MagicStack/MagicPython

Getting invalid.illegal.name.python on valid python code from textmate #252

New issue
Copy link
New issue
Copy link
Open
Open
Getting invalid.illegal.name.python on valid python code from textmate#252
Copy link

Description

@alexr00
alexr00
opened on Jun 8, 2022
Issue body actions
  • Editor name and version: VS Code 1.67

  • Platform: all

  • Color scheme: all

  • MagicPython version: commit c9b3409

  • A sreenshot:
    image

  • 5-10 lines of surrounding code:

print(42and 2)

in 42and 2, a valid python code, 42and is marked as invalid.illegal.name.python

42 should be marked as constant.numeric.dec.python and and should be marked as keyword.control.flow.python.

PyCharm is able to parse it correctly:
image

Originally from @Bobronium in microsoft/vscode#150199

Reacted by Arseny Boykov

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue 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.