René's URL Explorer Experiment


Title: Refresh doctest summary · Issue #117225 · python/cpython · GitHub

Open Graph Title: Refresh doctest summary · Issue #117225 · python/cpython

X Title: Refresh doctest summary · Issue #117225 · python/cpython

Description: Feature or enhancement The doctest output looks like this: Document: howto/ipaddress ------------------------- 1 items passed all tests: 10 tests in default 10 tests in 1 items. 10 passed and 0 failed. Test passed. Document: howto/functi...

Open Graph Description: Feature or enhancement The doctest output looks like this: Document: howto/ipaddress ------------------------- 1 items passed all tests: 10 tests in default 10 tests in 1 items. 10 passed and 0 fai...

X Description: Feature or enhancement The doctest output looks like this: Document: howto/ipaddress ------------------------- 1 items passed all tests: 10 tests in default 10 tests in 1 items. 10 passed and 0 fai...

Opengraph URL: https://github.com/python/cpython/issues/117225

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refresh doctest summary","articleBody":"# Feature or enhancement\n\nThe doctest output looks like [this](https://github.com/hugovk/cpython/actions/runs/8421808774/job/23059608592?pr=62):\n\n```\nDocument: howto/ipaddress\n-------------------------\n1 items passed all tests:\n  10 tests in default\n10 tests in 1 items.\n10 passed and 0 failed.\nTest passed.\n\nDocument: howto/functional\n--------------------------\n1 items passed all tests:\n  50 tests in default\n50 tests in 1 items.\n50 passed and 0 failed.\nTest passed.\n\nDocument: whatsnew/3.2\n----------------------\n1 items passed all tests:\n  81 tests in default\n81 tests in 1 items.\n81 passed and 0 failed.\nTest passed.\n\nDocument: tutorial/inputoutput\n------------------------------\n1 items passed all tests:\n   4 tests in default\n4 tests in 1 items.\n4 passed and 0 failed.\nTest passed.\n\nDocument: library/configparser\n------------------------------\n1 items passed all tests:\n  82 tests in default\n82 tests in 1 items.\n82 passed and 0 failed.\nTest passed.\n1 items passed all tests:\n   1 tests in default (cleanup code)\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/weakref\n-------------------------\n1 items passed all tests:\n  31 tests in default\n31 tests in 1 items.\n31 passed and 0 failed.\nTest passed.\n\nDocument: library/multiprocessing.shared_memory\n-----------------------------------------------\n1 items passed all tests:\n  79 tests in default\n79 tests in 1 items.\n79 passed and 0 failed.\nTest passed.\n\nDocument: library/base64\n------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: howto/sorting\n-----------------------\n1 items passed all tests:\n  42 tests in default\n42 tests in 1 items.\n42 passed and 0 failed.\nTest passed.\n\nDocument: whatsnew/2.7\n----------------------\n1 items passed all tests:\n  39 tests in default\n39 tests in 1 items.\n39 passed and 0 failed.\nTest passed.\n\nDocument: reference/executionmodel\n----------------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: tutorial/floatingpoint\n--------------------------------\n1 items passed all tests:\n  35 tests in default\n35 tests in 1 items.\n35 passed and 0 failed.\nTest passed.\n\nDocument: library/binascii\n--------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: library/decimal\n-------------------------\n2 items passed all tests:\n  66 tests in default\n  42 tests in newcontext\n108 tests in 2 items.\n108 passed and 0 failed.\nTest passed.\n2 items passed all tests:\n   1 tests in default (cleanup code)\n   1 tests in newcontext (cleanup code)\n2 tests in 2 items.\n2 passed and 0 failed.\nTest passed.\n\nDocument: library/inspect\n-------------------------\n**********************************************************************\nFile \"library/inspect.rst\", line 438, in default\nFailed example:\n    inspect.isasyncgenfunction(agen)\nExpected:\n    False\nGot:\n    True\n**********************************************************************\n1 items had failures:\n   1 of  35 in default\n35 tests in 1 items.\n34 passed and 1 failed.\n***Test Failed*** 1 failures.\n\nDocument: library/glob\n----------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: library/email.policy\n------------------------------\n1 items passed all tests:\n  10 tests in default\n10 tests in 1 items.\n10 passed and 0 failed.\nTest passed.\n1 items passed all tests:\n   1 tests in default (cleanup code)\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/datetime\n--------------------------\n1 items passed all tests:\n  36 tests in default\n36 tests in 1 items.\n36 passed and 0 failed.\nTest passed.\n\nDocument: library/fractions\n---------------------------\n1 items passed all tests:\n   8 tests in default\n8 tests in 1 items.\n8 passed and 0 failed.\nTest passed.\n\nDocument: reference/datamodel\n-----------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: library/functools\n---------------------------\n1 items passed all tests:\n   4 tests in default\n4 tests in 1 items.\n4 passed and 0 failed.\nTest passed.\n\nDocument: library/random\n------------------------\n1 items passed all tests:\n   1 tests in import random\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/traceback\n---------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: faq/programming\n-------------------------\n1 items passed all tests:\n  34 tests in default\n34 tests in 1 items.\n34 passed and 0 failed.\nTest passed.\n\nDocument: library/shlex\n-----------------------\n1 items passed all tests:\n  23 tests in default\n23 tests in 1 items.\n23 passed and 0 failed.\nTest passed.\n\nDocument: library/urllib.parse\n------------------------------\n1 items passed all tests:\n  26 tests in default\n26 tests in 1 items.\n26 passed and 0 failed.\nTest passed.\n\nDocument: library/unittest.mock-examples\n----------------------------------------\n1 items passed all tests:\n 200 tests in default\n200 tests in 1 items.\n200 passed and 0 failed.\nTest passed.\n\nDocument: library/collections.abc\n---------------------------------\n1 items passed all tests:\n   9 tests in default\n9 tests in 1 items.\n9 passed and 0 failed.\nTest passed.\n\nDocument: library/fnmatch\n-------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: library/graphlib\n--------------------------\n1 items passed all tests:\n  11 tests in default\n11 tests in 1 items.\n11 passed and 0 failed.\nTest passed.\n\nDocument: library/email.message\n-------------------------------\n1 items passed all tests:\n   4 tests in default\n4 tests in 1 items.\n4 passed and 0 failed.\nTest passed.\n\nDocument: library/exceptions\n----------------------------\n1 items passed all tests:\n  11 tests in default\n11 tests in 1 items.\n11 passed and 0 failed.\nTest passed.\n\nDocument: library/unicodedata\n-----------------------------\n1 items passed all tests:\n   7 tests in default\n7 tests in 1 items.\n7 passed and 0 failed.\nTest passed.\n\nDocument: library/re\n--------------------\n1 items passed all tests:\n  12 tests in default\n12 tests in 1 items.\n12 passed and 0 failed.\nTest passed.\n\nDocument: whatsnew/3.13\n-----------------------\n1 items passed all tests:\n   1 tests in default\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/http.cookies\n------------------------------\n1 items passed all tests:\n  30 tests in default\n30 tests in 1 items.\n30 passed and 0 failed.\nTest passed.\n\nDocument: library/ftplib\n------------------------\n1 items passed all tests:\n   2 tests in default\n2 tests in 1 items.\n2 passed and 0 failed.\nTest passed.\n\nDocument: library/pprint\n------------------------\n1 items passed all tests:\n  16 tests in default\n16 tests in 1 items.\n16 passed and 0 failed.\nTest passed.\n\nDocument: howto/descriptor\n--------------------------\n1 items passed all tests:\n 183 tests in default\n183 tests in 1 items.\n183 passed and 0 failed.\nTest passed.\n1 items passed all tests:\n   1 tests in default (cleanup code)\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/turtle\n------------------------\n1 items passed all tests:\n 314 tests in default\n314 tests in 1 items.\n314 passed and 0 failed.\nTest passed.\n\nDocument: library/difflib\n-------------------------\n1 items passed all tests:\n  43 tests in default\n43 tests in 1 items.\n43 passed and 0 failed.\nTest passed.\n\nDocument: library/math\n----------------------\n1 items passed all tests:\n   8 tests in default\n8 tests in 1 items.\n8 passed and 0 failed.\nTest passed.\n\nDocument: library/pathlib\n-------------------------\n1 items passed all tests:\n   5 tests in default\n5 tests in 1 items.\n5 passed and 0 failed.\nTest passed.\n\nDocument: library/unittest.mock\n-------------------------------\n1 items passed all tests:\n 462 tests in default\n462 tests in 1 items.\n462 passed and 0 failed.\nTest passed.\n\nDocument: library/email.compat32-message\n----------------------------------------\n1 items passed all tests:\n   3 tests in default\n3 tests in 1 items.\n3 passed and 0 failed.\nTest passed.\n\nDocument: library/copyreg\n-------------------------\n1 items passed all tests:\n   7 tests in default\n7 tests in 1 items.\n7 passed and 0 failed.\nTest passed.\n\nDocument: library/getopt\n------------------------\n1 items passed all tests:\n  12 tests in default\n12 tests in 1 items.\n12 passed and 0 failed.\nTest passed.\n\nDocument: reference/simple_stmts\n--------------------------------\n1 items passed all tests:\n   1 tests in default\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/typing\n------------------------\n1 items passed all tests:\n  58 tests in default\n58 tests in 1 items.\n58 passed and 0 failed.\nTest passed.\n\nDocument: whatsnew/3.8\n----------------------\n1 items passed all tests:\n   6 tests in default\n6 tests in 1 items.\n6 passed and 0 failed.\nTest passed.\n\nDocument: library/argparse\n--------------------------\n1 items passed all tests:\n  11 tests in default\n11 tests in 1 items.\n11 passed and 0 failed.\nTest passed.\n\nDocument: library/stdtypes\n--------------------------\n1 items passed all tests:\n  59 tests in default\n59 tests in 1 items.\n59 passed and 0 failed.\nTest passed.\n\nDocument: library/secrets\n-------------------------\n1 items passed all tests:\n   7 tests in default\n7 tests in 1 items.\n7 passed and 0 failed.\nTest passed.\n\nDocument: tutorial/introduction\n-------------------------------\n1 items passed all tests:\n   3 tests in default\n3 tests in 1 items.\n3 passed and 0 failed.\nTest passed.\n\nDocument: library/codecs\n------------------------\n1 items passed all tests:\n   2 tests in default\n2 tests in 1 items.\n2 passed and 0 failed.\nTest passed.\n\nDocument: library/statistics\n----------------------------\n1 items passed all tests:\n 117 tests in default\n117 tests in 1 items.\n117 passed and 0 failed.\nTest passed.\n\nDocument: library/enum\n----------------------\n1 items passed all tests:\n  19 tests in default\n19 tests in 1 items.\n19 passed and 0 failed.\nTest passed.\n\nDocument: library/multiprocessing\n---------------------------------\n1 items passed all tests:\n  48 tests in default\n48 tests in 1 items.\n48 passed and 0 failed.\nTest passed.\n\nDocument: library/ast\n---------------------\n1 items passed all tests:\n  74 tests in default\n74 tests in 1 items.\n74 passed and 0 failed.\nTest passed.\n\nDocument: library/doctest\n-------------------------\n1 items passed all tests:\n   9 tests in default\n9 tests in 1 items.\n9 passed and 0 failed.\nTest passed.\n\nDocument: library/email.iterators\n---------------------------------\n1 items passed all tests:\n   2 tests in default\n2 tests in 1 items.\n2 passed and 0 failed.\nTest passed.\n1 items passed all tests:\n   1 tests in default (cleanup code)\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/bz2\n---------------------\n1 items passed all tests:\n  17 tests in default\n17 tests in 1 items.\n17 passed and 0 failed.\nTest passed.\n1 items passed all tests:\n   1 tests in default (cleanup code)\n1 tests in 1 items.\n1 passed and 0 failed.\nTest passed.\n\nDocument: library/functions\n---------------------------\n1 items passed all tests:\n  29 tests in default\n29 tests in 1 items.\n29 passed and 0 failed.\nTest passed.\n\nDocument: library/struct\n------------------------\n1 items passed all tests:\n   4 tests in default\n4 tests in 1 items.\n4 passed and 0 failed.\nTest passed.\n\nDocument: library/time\n----------------------\n1 items passed all tests:\n   2 tests in default\n2 tests in 1 items.\n2 passed and 0 failed.\nTest passed.\n\nDocument: library/itertools\n---------------------------\n1 items passed all tests:\n 268 tests in default\n268 tests in 1 items.\n268 passed and 0 failed.\nTest passed.\n\nDocument: library/ipaddress\n---------------------------\n1 items passed all tests:\n  50 tests in default\n50 tests in 1 items.\n50 passed and 0 failed.\nTest passed.\n\nDocument: library/sqlite3\n-------------------------\n4 items passed all tests:\n  71 tests in default\n   3 tests in sqlite3.cursor\n   3 tests in sqlite3.limits\n   8 tests in sqlite3.trace\n85 tests in 4 items.\n85 passed and 0 failed.\nTest passed.\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\n\nDocument: library/collections\n-----------------------------\n1 items passed all tests:\n 121 tests in default\n121 tests in 1 items.\n121 passed and 0 failed.\nTest passed.\n\nDocument: library/reprlib\n-------------------------\n2 items passed all tests:\n   7 tests in default\n   8 tests in indent\n15 tests in 2 items.\n15 passed and 0 failed.\nTest passed.\n\nDocument: library/dis\n---------------------\n1 items passed all tests:\n   3 tests in default\n3 tests in 1 items.\n3 passed and 0 failed.\nTest passed.\nException ignored in sys.unraisablehook: \u003cfunction debug at 0x7fbdb071bc50\u003e\nTraceback (most recent call last):\n  File \"\u003cdoctest sqlite3.trace[4]\u003e\", line 2, in debug\nAttributeError: 'sqlite3.Connection' object has no attribute '__name__'\n\nDocument: library/operator\n--------------------------\n1 items passed all tests:\n  15 tests in default\n15 tests in 1 items.\n15 passed and 0 failed.\nTest passed.\n\nDocument: whatsnew/3.12\n-----------------------\n1 items passed all tests:\n  12 tests in default\n12 tests in 1 items.\n12 passed and 0 failed.\nTest passed.\n\nDocument: library/hashlib\n-------------------------\n1 items passed all tests:\n  58 tests in default\n58 tests in 1 items.\n58 passed and 0 failed.\nTest passed.\n\nDocument: library/ssl\n---------------------\n2 items passed all tests:\n   3 tests in default\n   5 tests in newcontext\n8 tests in 2 items.\n8 passed and 0 failed.\nTest passed.\n\nDocument: library/ctypes\n------------------------\n1 items passed all tests:\n   6 tests in default\n6 tests in 1 items.\n6 passed and 0 failed.\nTest passed.\n\nDoctest summary\n===============\n 3222 tests\n    1 failure in tests\n    0 failures in setup code\n    0 failures in cleanup code\n```\n\nWhen you know a doctest run has failed on the CI, you might search the logs for \"failed\" to find it. But when 81 of 84 results are for \"0 failed\" it's not so helpful.\n\n* There's no need to print \"0 failed\" in the logs, we should only print that when there's 1+ failed.\n\n* There are lots of logs with \"1 items\" or \"1 tests\". Let's skip the \"s\" when only one.\n\n* And now we have [colour handling](https://docs.python.org/3.13/using/cmdline.html#using-on-controlling-color) in 3.13, it would also help to add some colour to the output.\n\nI'll open some PRs.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-117228\n* gh-117583\n* gh-118268\n* gh-118283\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2024-03-25T18:14:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/117225/cpython/issues/117225"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:78cb4a51-5ab1-e447-02e8-39107561ee8d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCD82:1A425C:7E560C:A58CD2:696B4EB5
html-safe-nonce7c7be0a6ea9cebf83cbe463d69ff3e3f89dbc86254d4c5b3d1b996a6cd2321ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDgyOjFBNDI1Qzo3RTU2MEM6QTU4Q0QyOjY5NkI0RUI1IiwidmlzaXRvcl9pZCI6IjIwMDM3MTY4MjIxOTUxOTU1NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc6ce502e3f09f3b4bbf63b0e1793f622f8b621f29751a7d0efa7061774bc7d49
hovercard-subject-tagissue:2206388393
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/117225/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b02e90d5f9d4296eb4b5fdd229305092bb6fd95d63c3d06f54fb48bd32fa5f25/python/cpython/issues/117225
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b02e90d5f9d4296eb4b5fdd229305092bb6fd95d63c3d06f54fb48bd32fa5f25/python/cpython/issues/117225
og:image:altFeature or enhancement The doctest output looks like this: Document: howto/ipaddress ------------------------- 1 items passed all tests: 10 tests in default 10 tests in 1 items. 10 passed and 0 fai...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehugovk
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/117225#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F117225
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F117225
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/117225
Reloadhttps://github.com/python/cpython/issues/117225
Reloadhttps://github.com/python/cpython/issues/117225
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/117225
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/117225
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/117225
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/117225
Refresh doctest summaryhttps://github.com/python/cpython/issues/117225#top
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/hugovk
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Mar 25, 2024https://github.com/python/cpython/issues/117225#issue-2206388393
thishttps://github.com/hugovk/cpython/actions/runs/8421808774/job/23059608592?pr=62
colour handlinghttps://docs.python.org/3.13/using/cmdline.html#using-on-controlling-color
gh-117225: doctest: only print "and X failed" when non-zero, don't pluralise "1 items" #117228https://github.com/python/cpython/pull/117228
gh-117225: Add color to doctest output #117583https://github.com/python/cpython/pull/117583
gh-117225: Document colour use in doctest #118268https://github.com/python/cpython/pull/118268
gh-117225: Move colorize functionality to own internal module #118283https://github.com/python/cpython/pull/118283
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.