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 — Syntax error in _delim.py · Issue #102033 · python/cpython

Syntax error in _delim.py #102033

New issue
Copy link
New issue
Copy link
Closed
Closed
Syntax error in _delim.py#102033
Copy link
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@dmacks
dmacks
opened on Feb 18, 2023
Issue body actions

Bug report

As part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball:

make install DESTDIR=/sw/build.build/root-python311-3.11.2-1
[...]
DYLD_LIBRARY_PATH=/sw/build.build/root-python311-3.11.2-1/sw/lib
+ /sw/build.build/root-python311-3.11.2-1/sw/bin/python3.11 -m compileall -f -o 0 -o 1 -o 2 _sysconfigdata__darwin_darwin.py Tools
[...]
Compiling 'Tools/c-analyzer/c_parser/parser/_delim.py'...
***   File "Tools/c-analyzer/c_parser/parser/_delim.py", line 37
    ''')
       ^
SyntaxError: f-string: empty expression not allowed

Your environment

This is OS X 10.13, I see the same results on python-3.11.2, and 3.10.10 and 3.10.4 but not 3.9.12, which makes sense since _delim.py was introduced via PR #22841 and unchanged since that point.

Linked PRs

  • gh-102033: Fix syntax error in Tools/c-analyzer #102066

Activity

  1. dmacks
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Feb 18, 2023
  2. arhadthedev
    added
    buildThe build process and cross-buildThe build process and cross-build
    on Feb 19, 2023
  3. corona10
    added
    3.11only security fixesonly security fixes
    3.12only security fixesonly security fixes
    on Feb 19, 2023
  4. sobolevn
    added a commit that references this issue on Feb 20, 2023

    pythongh-102033: Fix syntax error in `Tools/c-analyzer`

    a930d37
  5. miss-islington
    added a commit that references this issue on Mar 22, 2023

    gh-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066)

    1ca3155
  6. hauntsaninja commented on Mar 25, 2023

    @hauntsaninja
    hauntsaninja
    on Mar 25, 2023
    Contributor
    More actions

    Thanks all!

  7. hauntsaninja
    closed this as completedon Mar 25, 2023
  8. Fidget-Spinner
    added a commit that references this issue on Mar 27, 2023

    pythongh-102033: Fix syntax error in `Tools/c-analyzer` (pythonGH-102066

    ae4c54b
  9. warsaw
    added a commit that references this issue on Apr 11, 2023

    pythongh-102033: Fix syntax error in `Tools/c-analyzer` (pythonGH-102066

    3b92124
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

    3.11only security fixesonly security fixes3.12only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — 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.