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

Merged
merged 1 commit into from Mar 14, 2022

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.

@vstinner vstinner merged commit a52f82b into python:main Mar 14, 2022
11 checks passed
@arhadthedev arhadthedev deleted the remove-unused-debugs branch Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants