You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does ccbench still require 2.6 compatibility? #89801
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.
Activity
smontanaro commentedon Oct 28, 2021
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.
terryjreedy commentedon Nov 2, 2021
Lukasz, is 'delete it' the no-brainer it seems to be?
smontanaro commentedon Nov 2, 2021
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?).
terryjreedy commentedon Nov 2, 2021
By 'it' I meant the comment and 2.6 compatibility you asked about.
StanFromIreland commentedon Mar 3, 2025
ccbench was removed in #101853
picnixz commentedon Mar 3, 2025
Closing since this 2.6 is EOL and ccbench was removed. Thanks for digging up old issues that can be closed!