This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Does ccbench still require 2.6 compatibility?
Type: Stage:
Components: Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: lukasz.langa, skip.montanaro, terry.reedy
Priority: normal Keywords:

Created on 2021-10-28 00:05 by skip.montanaro, last changed 2022-04-11 14:59 by admin.

Messages (4)
msg405141 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2021-10-28 00:05
At the top of Tools/ccbench/ccbench.py is this comment dating from 2010 (probably in the initial version):

# This file should be kept compatible with both Python 2.6 and Python >= 3.0.

Is there still a need for 2.6 compatibility in what is essentially a test script? There are probably only a few changes necessary to remove 2.x compatibility, but it seems odd to retain them when even the Python library documentation no longer has versionchanged/versionadded directives referencing Python 2.x.
msg405485 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-11-02 03:59
Lukasz, is 'delete it' the no-brainer it seems to be?
msg405508 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2021-11-02 12:34
CCbench was mentioned recently in the discussion about Sam Gross's nogil branch:

https://mail.python.org/archives/list/python-dev@python.org/message/WRT7F2RHHCQ3N2TYEDC6JSIJ4T2ZM6F7/

I'm not convinced that deleting it is a no-brainer. Maybe if it landed somewhere generally useful (pyperformance?).
msg405515 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-11-02 16:06
By 'it' I meant the comment and 2.6 compatibility you asked about.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89801
2021-11-02 16:06:26terry.reedysetmessages: + msg405515
2021-11-02 12:34:58skip.montanarosetmessages: + msg405508
2021-11-02 03:59:14terry.reedysetnosy: + terry.reedy, lukasz.langa
messages: + msg405485
2021-10-28 00:05:44skip.montanarocreate