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 — parser: add support for f-strings · Issue #236 · go-python/gpython

parser: add support for f-strings #236

New issue
Copy link
New issue
Copy link
Open
Open
parser: add support for f-strings#236
Copy link
Labels
enhancementNew feature or requestNew feature or request

Description

@shellquery
shellquery
opened on Oct 22, 2024
Issue body actions

File "/opt/homebrew/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/init.py", line 339, offset 80
raise TypeError(f'the JSON object must be str, bytes or bytearray, '

SyntaxError: 'invalid syntax'

Reacted by Drew O'Meara

Activity

  1. sbinet commented on Oct 22, 2024

    @sbinet
    sbinet
    on Oct 22, 2024
    Member
    More actions

    yeah, gpython is (quoting the README) a part re-implementation, part port of the Python 3.4 interpreter in Go.
    IIRC, f-strings were not yet in (if memory serves, they were brought in CPython 3.6).

    we'd be happy to review a PR adding this feature :}

    Reacted by Drew O'Meara
  2. sbinet
    changed the title [-]can not import json[/-] [+]parser: add support for f-strings[/+] on Oct 22, 2024
  3. sbinet
    added
    enhancementNew feature or requestNew feature or request
    on Oct 22, 2024
  4. drew-512 commented on Nov 10, 2026

    @drew-512
    drew-512
    on Nov 10, 2026
    Contributor
    More actions

    I will be looking at this in the coming weeks.

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

    enhancementNew feature or requestNew feature or request

    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.