Metraipolis › archive › dc_4986198c0c1b

Evolution of Deprecated APIs and Their Replacements in Python Libraries — arXiv:2609.32618

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.32618
License (as archived)
CC0-1.0
Archived
2026-10-07T23:02:09.123Z
SHA-256 of the archived text
34290b2b35413cfea4c49755bd7d0578d75332859fbf4ca0b1468470e65217d4
Stable URL of this page
https://metraipolis.com/documento/dc_4986198c0c1b

How to cite

Evolution of Deprecated APIs and Their Replacements in Python Libraries — arXiv:2609.32618 — arXiv (en), https://arxiv.org/abs/2609.32618 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4986198c0c1b (Metraipolis archive dc_4986198c0c1b, sha256 34290b2b35413cfea4c49755bd7d0578d75332859fbf4ca0b1468470e65217d4)
BibTeX
@misc{dc4986198c0c1b,
  title = {Evolution of Deprecated APIs and Their Replacements in Python Libraries — arXiv:2609.32618},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.32618},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4986198c0c1b; sha256 34290b2b35413cfea4c49755bd7d0578d75332859fbf4ca0b1468470e65217d4},
  year = {2026}
}

Archived text

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

Context: API deprecation is common in library evolution, but migration requires finding replacements and adapting calls. Prior studies examine deprecation, replacement identification, and client migration separately, leaving deprecated API-replacement API relationships across releases and lifecycle states insufficiently understood. Objective: We examine replacement locality, parameter-interface differences, changes in replacement rankings across versions, and post-deprecation lifecycles from source-definition and original-invocation perspectives. Method: We construct 830 maintainer-specified mappings from 33 Python libraries, covering classes, functions, and methods. We compare definitions, track similarity-based rankings under two migration scenarios, and identify lifecycle events through source inspection and release-by-release execution. Results: Same-module replacements account for 39.1%, 55.6%, and 79.9% of class, function, and method mappings, respectively. Most mappings have no parameter changes, but function mappings show more frequent and diverse changes. Rankings vary across releases and code representations, and the applicable methods agree on the overall trend in only about 60% of cases. Other-candidate effects are dominant or mixed in 49.0% of key versions. After deprecation, 56.4% of mappings retain the source definition and 68.6% retain an executable original invocation. Among 753 mappings with at least one observed ending event, 25.2% are source-first or invocation-first rather than same-release. Of these cases, 77.4% are source-first. Conclusions: Deprecated API-replacement API relationships depend on API granularity, release context, code representation, candidate competition, and lifecycle state. These results support evolution-aware replacement API recommendation and automated API migration.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.32618 — 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-07T22:39:35.190Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).