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 — Improve document for SyntaxWarning · Issue #123858 · python/cpython

Improve document for SyntaxWarning #123858

New issue
Copy link
New issue
Copy link
Closed
Closed
Improve document for SyntaxWarning#123858
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@bebound
bebound
opened on Sep 9, 2024
Issue body actions

Documentation

The SyntaxWarning appears only once during the pyc compilation, but I can't find this information in the documentation.

This is quite confusing for anyone trying to fix a SyntaxWarning. I noticed other warnings have descriptions like "ignored by default." Adding this information could help reduce confusion.

Related PR: #122844

Linked PRs

  • gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation #122844
  • [3.13] gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation (gh-122844) #138243
  • [3.14] gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation (gh-122844) #138244
Reacted by Beni Cherniavsky-Paskin

Activity

  1. bebound
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Sep 9, 2024
  2. ncoghlan
    added a commit that references this issue on Aug 29, 2025

    gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode gene…

    5f79067
  3. miss-islington
    added 2 commits that reference this issue on Aug 29, 2025

    pythongh-123858: Improve Doc: SyntaxWarning is emitted during bytecod…

    9505481

    pythongh-123858: Improve Doc: SyntaxWarning is emitted during bytecod…

    19176bd
  4. ncoghlan commented on Aug 29, 2025

    @ncoghlan
    ncoghlan
    on Aug 29, 2025
    Contributor
    More actions

    Backports are still pending, but I'm happy to consider this resolved. Thanks for the PR @bebound!

  5. ncoghlan
    closed this as completedon Aug 29, 2025
  6. ncoghlan
    added a commit that references this issue on Aug 29, 2025

    [3.13] gh-123858: Improve Doc: SyntaxWarning is emitted during byteco…

    e93cacb
  7. hugovk
    added a commit that references this issue on Aug 29, 2025

    [3.14] gh-123858: Improve Doc: SyntaxWarning is emitted during byteco…

    c35222a
  8. kumaraditya303
    added a commit that references this issue on Sep 9, 2025

    [3.14] pythongh-123858: Improve Doc: SyntaxWarning is emitted during …

    296b6f5
  9. lkollar
    added a commit that references this issue on Sep 9, 2025

    pythongh-123858: Improve Doc: SyntaxWarning is emitted during bytecod…

    a2faaa1
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

    docsDocumentation in the Doc dirDocumentation in the Doc dir

    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.