Visitar URL original
bpo-46920: Remove disabled debug code added decades ago and likely unnecessary by arhadthedev · Pull Request #31812 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20220313221625/https://github.com/python/cpython/pull/31812
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-46920: Remove disabled debug code added decades ago and likely unnecessary #31812

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arhadthedev
Copy link
Contributor

@arhadthedev arhadthedev commented Mar 11, 2022 •

  • unicode._decimal2ascii - used for debugging the implementation, disabled on 27 Aug 2007 in e226b55
  • token_name - used nowhere, disabled on 23 Apr 2020 in c5fc156
  • printf("internal format spec: [...] - demands an extra definition of DEBUG_PRINT_FORMAT_SPEC, disabled on 27 Aug 2007 in e226b55

This PR is separated from a large, umbrella GH-31681 to simplify review.

https://bugs.python.org/issue46920

Copy link
Member

@vstinner vstinner left a comment

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants