arrow
Return

An Empirical Study on Bugs in Python Interpreters

delete2022-06-01
delete8
PRE
AI
Z
Ziyuan Wang *
D
Dexin Bu
A
Aiyue Sun
S
Shanyi Gou
王勇 cover
王勇 (Yong Wang)
L
Lin Chen
DOI:10.1109/TR.2022.3159812delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Python is an interpreted programming language that has been widely used in many fields. The successful execution of a Python program depends on both the correctness of Python program and the correctness of Python interpreter. As an infrastructure software, there are many bugs in the Python interpreter. Exploring the bugs in Python interpreters can help developers and maintainers of Python interpreters detect and fix bugs and help users of Python avoid risks. In this article, we conduct an empirical study on the bugs in two mainstream Python interpreters: CPython and PyPy. By analyzing 25 958 fixed bugs, 18 824 revisions, 2 116 test cases, and root causes of randomly sampled 510 bugs, we have summarized the following findings.
Keywords:
Computer bugs
Python
Testing
Correlation
Sun
Software development management
Optimization
CPython
empirical study
PyPy
Python interpreter
software bug

Journal

IEEE Transactions on Reliability cover
IEEE Transactions on Reliability
IF:
5.7
Papers:
2.7K
Citations:
8.5K

Organization

N
nanjing university
Scholars:
7.7W
Papers: 5.6W
Citations: 87
A
Anhui Polytechnic University
Scholars:
3.8K
Papers: 2.5K
Citations: 3.5K