Item type |
SIG Technical Reports(1) |
公開日 |
2022-07-21 |
タイトル |
|
|
タイトル |
The effect of Python Version Upgrades on the Compilability of Code Snippets posted on Stack Overflow |
タイトル |
|
|
言語 |
en |
|
タイトル |
The effect of Python Version Upgrades on the Compilability of Code Snippets posted on Stack Overflow |
言語 |
|
|
言語 |
eng |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_18gh |
|
資源タイプ |
technical report |
著者所属 |
|
|
|
Osaka University |
著者所属 |
|
|
|
Osaka University |
著者所属 |
|
|
|
Nanzan University |
著者所属(英) |
|
|
|
en |
|
|
Osaka University |
著者所属(英) |
|
|
|
en |
|
|
Osaka University |
著者所属(英) |
|
|
|
en |
|
|
Nanzan University |
著者名 |
Shiyu, Yang
Tetsuya, Kanda
Katsuro, Inoue
|
著者名(英) |
Shiyu, Yang
Tetsuya, Kanda
Katsuro, Inoue
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Stack Overflow(SO) is a Q&A site for programmers that have accumulated a wealth of code snippets. In 2008, Python 3.0 was released, a new language version not backward compatible with Python 2. This means that code snippets written in Python 2 may not be compiled directly by Python 3. This issue may affect the compilability of Python code snippets on SO. In this work, we use the Python compliance analyzer, PyComply, to parse Python code snippets on SO. The Python code snippets used for this study were from SOTorrent, an open dataset based on the official SO data dump. Using the PyComply parsing results, we investigate the effect of the Python version upgrades on the compilability of Python code snippets on SO.We found that Python version upgrades affected the compilability of Python code snippets on SO, with evidence that the release of the new Python version inhibits the development of the old versions and the trend of code snippets responding to newer versions increases over time. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Stack Overflow(SO) is a Q&A site for programmers that have accumulated a wealth of code snippets. In 2008, Python 3.0 was released, a new language version not backward compatible with Python 2. This means that code snippets written in Python 2 may not be compiled directly by Python 3. This issue may affect the compilability of Python code snippets on SO. In this work, we use the Python compliance analyzer, PyComply, to parse Python code snippets on SO. The Python code snippets used for this study were from SOTorrent, an open dataset based on the official SO data dump. Using the PyComply parsing results, we investigate the effect of the Python version upgrades on the compilability of Python code snippets on SO.We found that Python version upgrades affected the compilability of Python code snippets on SO, with evidence that the release of the new Python version inhibits the development of the old versions and the trend of code snippets responding to newer versions increases over time. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AN10112981 |
書誌情報 |
研究報告ソフトウェア工学(SE)
巻 2022-SE-211,
号 28,
p. 1-8,
発行日 2022-07-21
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
2188-8825 |
Notice |
|
|
|
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |