MURAL - Maynooth University Research Archive Library



    Quantifying the Transition from Python 2 to 3: An Empirical Study of Python Applications


    Malloy, Brian A. and Power, James F. (2017) Quantifying the Transition from Python 2 to 3: An Empirical Study of Python Applications. In: 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). IEEE, pp. 314-323. ISBN 9781509040391

    [thumbnail of JP-Quantifying-2017.pdf]
    Preview
    Text
    JP-Quantifying-2017.pdf

    Download (282kB) | Preview

    Abstract

    Background: Python is one of the most popular modern programming languages. In 2008 its authors 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. Aims: The study described in this paper investigates the degree to which Python software developers are making the transition from Python 2 to Python 3. Method: We have developed a Python compliance analyser, PyComply, and have assembled a large corpus of Python applications. 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. Results: In fact, 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. Conclusions: 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.
    Item Type: Book Section
    Keywords: Python; programming language evolution; language features;
    Academic Unit: Faculty of Science and Engineering > Computer Science
    Item ID: 10220
    Identification Number: 10.1109/ESEM.2017.45
    Depositing User: Dr. James Power
    Date Deposited: 15 Nov 2018 17:53
    Publisher: IEEE
    Refereed: Yes
    Related URLs:
    URI: https://mural.maynoothuniversity.ie/id/eprint/10220
    Use Licence: This item is available under a Creative Commons Attribution Non Commercial Share Alike Licence (CC BY-NC-SA). Details of this licence are available here

    Repository Staff Only (login required)

    Item control page
    Item control page

    Downloads

    Downloads per month over past year

    Origin of downloads