-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Remove test.support.strip_python_stderr() #83172
Comments
Python 3.3 compiled in debug mode dumps the total number of references at exit into stderr. Something like: $ python3.3-dbg -X showrefcount -c pass
[18563 refs, 6496 blocks] In Python 3.4, bpo-17323 disabled this feature by default and added -X showrefcount command line option: commit 1f8898a
test.support module still has strip_python_stderr() function to remove "[18563 refs, 6496 blocks]" from stderr, but it's now useless. Attached PR removes the function. The PR also avoids calling str.strip(). |
do we have any buildbots using -X showrefcount? |
No. What would be the purpose of such buildbot? -X showrefcount is tested by test_cmd_line.test_showrefcount(). I ran "./python -X showrefcount -m test -j0 -r": all tests pass. (test_pty fail when run in parallel, but pass when run sequentially: bpo-38547, it's unrelated to this change). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: