Metraipolis › archive › dc_0595de7c83f3

An Empirical Analysis of Cross-OS Portability Issues in Python Projects — arXiv:2609.25531

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.25531
License (as archived)
CC0-1.0
Archived
2026-10-08T15:16:06.623Z
SHA-256 of the archived text
a60cdf3775d9475644d509f903dbddc96d0e00d5ead50ee1806ed441c2f370cd
Stable URL of this page
https://metraipolis.com/documento/dc_0595de7c83f3

How to cite

An Empirical Analysis of Cross-OS Portability Issues in Python Projects — arXiv:2609.25531 — arXiv (en), https://arxiv.org/abs/2609.25531 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0595de7c83f3 (Metraipolis archive dc_0595de7c83f3, sha256 a60cdf3775d9475644d509f903dbddc96d0e00d5ead50ee1806ed441c2f370cd)
BibTeX
@misc{dc0595de7c83f3,
  title = {An Empirical Analysis of Cross-OS Portability Issues in Python Projects — arXiv:2609.25531},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.25531},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0595de7c83f3; sha256 a60cdf3775d9475644d509f903dbddc96d0e00d5ead50ee1806ed441c2f370cd},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.25531. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

While Python is designed as a cross-platform language, real-world applications encounter portability failures when deployed across different operating systems. We present the first large-scale empirical study of cross-OS portability issues in Python, analyzing 2,042 open-source repositories using two complementary approaches: systematic cross-OS test reexecution and manual analysis of GitHub issues. Our cross-platform testing of 500 projects reveals that 11.2% exhibit OS-dependent test failures. Through systematic analysis of 240 GitHub issues, we confirm 102 genuine portability problems spanning 95 additional projects. We develop a comprehensive taxonomy identifying 7 primary failure categories - with file/directory operations, process management, and library dependencies being most prevalent - along with 24 distinct sub-categories, 15 diagnostic signatures, and 4 systematic repair patterns. Our evaluation reveals that existing static analysis tools provide minimal support for portability detection, while large language models achieve 40-79% accuracy in identifying issues and 50-77% success in generating fixes when provided with structured guidance. Through 33 contributed pull requests, we demonstrate practical applicability and developer acceptance (17 merged, zero rejected) of our findings. This work establishes the first comprehensive baseline for understanding and addressing cross-OS portability issues in Python, providing actionable insights for developers, tool designers, and the broader research community.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-23 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.25531 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T14:42:48.166Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).