python / python/cpython

Windows: improve compatibility to build for UWP / Xbox

未关闭
#152,433 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

build OS-windows type-feature
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

Feature or enhancement

Proposal:
  • Add alternative UWP API functionality when available.
  • Modernize the Windows code when there are alternatives that are also compatible with UWP.
  • Add additional guards for Windows code that not builds for UWP.

The final goal is able to build for Xbox and reduce the patches required in Kodi --> Upstream some generic UWP patches here.

I propose upload small patches geared towards specific targets and always keeping current Windows functionality untouched.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs
  • gh-152383
  • gh-152473
  • gh-152477
  • gh-152479
  • gh-152601
  • gh-152604
  • gh-152688
  • gh-152689
  • gh-152694
  • gh-152791
  • gh-152792
  • gh-152793
  • gh-152797
  • gh-152962
  • gh-152998
  • gh-153021
  • gh-153036
  • gh-153216
  • gh-153700
  • gh-154642
  • gh-154700
  • gh-154918
  • gh-156972

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查已链接的 PR,尤其是与 Windows 和 UWP 相关的更改,以了解提案中的哪些部分已经涵盖。跟踪受 UWP API 替代方案和 build guards 影响的 Windows 代码路径。当 CPython 能够为 UWP/Xbox 构建,同时保留当前的 Windows 功能并减少下游补丁时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system, operating-systems
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。