An empirical analysis of the transition from Python 2 to Python 3
Autor: | James F. Power, Brian A. Malloy |
---|---|
Rok vydání: | 2018 |
Předmět: |
Software_GENERAL
business.industry Computer science Programming language 020207 software engineering 02 engineering and technology Python (programming language) computer.software_genre Backward compatibility Transitional phase Software Hardware_GENERAL 0202 electrical engineering electronic engineering information engineering business computer computer.programming_language |
Zdroj: | Empirical Software Engineering. 24:751-778 |
ISSN: | 1573-7616 1382-3256 |
DOI: | 10.1007/s10664-018-9637-2 |
Popis: | Python is one of the most popular and widely adopted programming languages in use today. In 2008 the Python developers introduced a new version of the language, Python 3.0, that was not backward compatible with Python 2, initiating a transitional phase for Python software developers. In this paper, we describe a study that investigates the degree to which Python software developers are making the transition from Python 2 to Python 3. We have developed a Python compliance analyser, PyComply, and have analysed a previously studied corpus of Python applications called Qualitas. We use PyComply to measure and quantify the degree to which Python 3 features are being used, as well as the rate and context of their adoption in the Qualitas corpus. Our results indicate that Python software developers are not exploiting the new features and advantages of Python 3, but rather are choosing to retain backward compatibility with Python 2. Moreover, Python developers are confining themselves to a language subset, governed by the diminishing intersection of Python 2, which is not under development, and Python 3, which is under development with new features being introduced as the language continues to evolve. |
Databáze: | OpenAIRE |
Externí odkaz: |