Skip to content

Some of the newly added path apis in _winapi aren't available on all win api partitions #134041

Closed
@maxbachmann

Description

@maxbachmann

Bug report

Bug description:

The following apis are missing in some win api partitions (mostly gaming or mobile):

  • GetLongPathNameW
  • GetShortPathNameW
  • NeedCurrentDirectoryForExePathW

CPython versions tested on:

3.13

Operating systems tested on:

No response

Linked PRs

Activity

added a commit that references this issue on May 15, 2025

gh-134041: Make _winapi functions compatible with non-desktop API par…

1c4b34c
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

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Some of the newly added path apis in _winapi aren't available on all win api partitions · Issue #134041 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant