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 — os.path.normcase incorrectly claims to do nothing · Issue #160904 · python/cpython

os.path.normcase incorrectly claims to do nothing #160904

New issue
Copy link
New issue
Copy link
Open
#160912
Open
os.path.normcase incorrectly claims to do nothing#160904
#160912
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc direasy

Description

@JelleZijlstra
JelleZijlstra
opened on Oct 29, 2026
Issue body actions

Documentation

The docstring for os.path.normcase on Posix is Normalize case of pathname. Has no effect under Posix and the documentation says "On other operating systems, return the path unchanged."

But this is false. It calls os.fspath, which normalizes path-like objects into strs and bytes. We should say so in the docstring and the docs.

(Adjacent to #160900.)

Linked PRs

  • gh-160904: Correct os.path.normcase documentation for POSIX #160912
  • gh-160904: Edited os.path.normcase docstring to correct Documentation for POSIX … #160916
  • gh-160904: Correct os.path.normcase documentation for POSIX #161443

Activity

  1. JelleZijlstra
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Oct 29, 2026
  2. github-project-automation
    added this to docs issueson Oct 29, 2026
  3. github-project-automation
    moved this to Todo in docs issueson Oct 29, 2026
  4. StanFromIreland
    added
    easy
    on Oct 29, 2026
  5. GUOZIJAN
    added a commit that references this issue on Oct 29, 2026

    pythongh-160904: Add news entry

    c37b869
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 direasy

    Projects

    • docs issues
      Status
      Todo
      Show more project fields

    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.