René's URL Explorer Experiment


Title: bpo-27200: fix several doctests by marco-buttu · Pull Request #604 · python/cpython · GitHub

Open Graph Title: bpo-27200: fix several doctests by marco-buttu · Pull Request #604 · python/cpython

X Title: bpo-27200: fix several doctests by marco-buttu · Pull Request #604 · python/cpython

Description: This PR partially fixes bpo-27200. Partially and not completely, because I followed the suggestion of @ezio-melotti to split the patch in several patches. This PR is the 3rd of the series. The first one was #240 and the second one #401. To run the doctests (from the Doc directory): $ sphinx-build -b doctest . build/doctest \ library/urllib.parse.rst \ library/functions.rst \ library/ipaddress.rst \ library/reprlib.rst \ library/shlex.rst \ library/email.compat32-message.rst \ whatsnew/3.2.rst

Open Graph Description: This PR partially fixes bpo-27200. Partially and not completely, because I followed the suggestion of @ezio-melotti to split the patch in several patches. This PR is the 3rd of the series. The f...

X Description: This PR partially fixes bpo-27200. Partially and not completely, because I followed the suggestion of @ezio-melotti to split the patch in several patches. This PR is the 3rd of the series. The f...

Opengraph URL: https://github.com/python/cpython/pull/604

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2da3f736-db44-cbfa-7942-18c2030dd31b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id844A:5105D:5662687:79DD355:6A4FA99D
html-safe-nonce6e84cd7ef7681f3409ea751f1d2b8c188a0c347e3edfdd20c74718bbe8afffb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDRBOjUxMDVEOjU2NjI2ODc6NzlERDM1NTo2QTRGQTk5RCIsInZpc2l0b3JfaWQiOiIzNzQ4NzU3NTI0ODU5MzAwMjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac811c07aacebfa8610e43e771ace2af637377a99f02cda20304008b7d802dec48
hovercard-subject-tagpull_request:110196900
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/604/files
twitter:imagehttps://avatars.githubusercontent.com/u/3822393?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3822393?s=400&v=4
og:image:altThis PR partially fixes bpo-27200. Partially and not completely, because I followed the suggestion of @ezio-melotti to split the patch in several patches. This PR is the 3rd of the series. The f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/604/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F604%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fpull%2F604%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/604/files
Reloadhttps://github.com/python/cpython/pull/604/files
Reloadhttps://github.com/python/cpython/pull/604/files
Please reload this pagehttps://github.com/python/cpython/pull/604/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/604/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
berkerpeksaghttps://github.com/berkerpeksag
python:masterhttps://github.com/python/cpython/tree/master
Conversation 22 https://github.com/python/cpython/pull/604
Commits 13 https://github.com/python/cpython/pull/604/commits
Checks 0 https://github.com/python/cpython/pull/604/checks
Files changed https://github.com/python/cpython/pull/604/files
Please reload this pagehttps://github.com/python/cpython/pull/604/files
bpo-27200: fix several doctests https://github.com/python/cpython/pull/604/files#top
Show all changes 13 commits https://github.com/python/cpython/pull/604/files
45d0735 bpo-27200: fix email.compat32-message.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/45d0735a31f2e5336960863fa7d51bbf3a0a6d74
165a439 bpo-27200: fix functions.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/165a43907c72d4363d65415d03eb49ccf87658c8
ba6efbc bpo-27200: fix ipaddress.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/ba6efbc4861b9d44039bd55d103f95447cdb3f6a
38e42a0 bpo-27200: fix reprlib.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/38e42a0c308280fb0aba16e0c432c6fd07131199
446db45 bpo-27200: fix whatsnew/3.2.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/446db4519c8424ad89cd03ed3036321049f57d91
f47f49e bpo-27200: fix urllib.parse.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/f47f49e9277b77068b9d79a338b46fc8f1827813
5ad6d1b bpo-27200: fix shlex.rst doctests marco-buttu Mar 10, 2017 https://github.com/python/cpython/pull/604/commits/5ad6d1b3a17663685928d0e02d8513b738ea34b1
73aacd4 bpo-27200: get the absolute file path in testsetup marco-buttu Mar 11, 2017 https://github.com/python/cpython/pull/604/commits/73aacd4926b38108831b7422975db1e10eb6eac9
b94e308 bpo-27200: use hanging indentation in ipaddress.rst marco-buttu Mar 22, 2017 https://github.com/python/cpython/pull/604/commits/b94e3081b36e299dab1f4072e60118fd1c750b53
5c38137 bpo-27200: skipped a test that can fail. marco-buttu Mar 22, 2017 https://github.com/python/cpython/pull/604/commits/5c38137e649bd573510054733baddccfdb1d4175
fbae43f bpo-27200: use doctest SKIP option instead of :: marco-buttu Apr 13, 2017 https://github.com/python/cpython/pull/604/commits/fbae43f2ce3bbe411554fcd320b97516be26c129
2aab0c4 bpo-27200: fix wrong doctest directive syntax marco-buttu Apr 24, 2017 https://github.com/python/cpython/pull/604/commits/2aab0c41a5df10e82dce4e487a9efc062a2492ad
2cd4aec bpo-27200: fix bug in testsetup marco-buttu Apr 27, 2017 https://github.com/python/cpython/pull/604/commits/2cd4aec4c95f93576eff23bd1818b56a64f49ba4
Clear filters https://github.com/python/cpython/pull/604/files
Please reload this pagehttps://github.com/python/cpython/pull/604/files
Please reload this pagehttps://github.com/python/cpython/pull/604/files
email.compat32-message.rst https://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
functions.rst https://github.com/python/cpython/pull/604/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
ipaddress.rst https://github.com/python/cpython/pull/604/files#diff-d9c61a8ece8cc31330309c90fc34330e1c21bc615ad0941aac8ca6af36f99568
reprlib.rst https://github.com/python/cpython/pull/604/files#diff-eac594eacdce5fe18567f92e44b193c9a1ebeb8465c06deb1706d21c9b53dc0b
shlex.rst https://github.com/python/cpython/pull/604/files#diff-63770e5bef3ab9e3d32653fb77f41c4f049b1af983211948659f1c0c6db02665
urllib.parse.rst https://github.com/python/cpython/pull/604/files#diff-f97a457691dcc7fd019d5f47ddea5cd6166b5b6efffc3d9a04e04455eb2deeba
3.2.rst https://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
Doc/library/email.compat32-message.rsthttps://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/email.compat32-message.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
https://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
https://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
https://github.com/python/cpython/pull/604/files#diff-fe8166721d2068ddb3890aab011cfddd46121fecc4d19aab7244885d911b2986
Doc/library/functions.rsthttps://github.com/python/cpython/pull/604/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/functions.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
https://github.com/python/cpython/pull/604/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
Doc/library/ipaddress.rsthttps://github.com/python/cpython/pull/604/files#diff-d9c61a8ece8cc31330309c90fc34330e1c21bc615ad0941aac8ca6af36f99568
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/ipaddress.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-d9c61a8ece8cc31330309c90fc34330e1c21bc615ad0941aac8ca6af36f99568
https://github.com/python/cpython/pull/604/files#diff-d9c61a8ece8cc31330309c90fc34330e1c21bc615ad0941aac8ca6af36f99568
Doc/library/reprlib.rsthttps://github.com/python/cpython/pull/604/files#diff-eac594eacdce5fe18567f92e44b193c9a1ebeb8465c06deb1706d21c9b53dc0b
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/reprlib.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-eac594eacdce5fe18567f92e44b193c9a1ebeb8465c06deb1706d21c9b53dc0b
https://github.com/python/cpython/pull/604/files#diff-eac594eacdce5fe18567f92e44b193c9a1ebeb8465c06deb1706d21c9b53dc0b
Doc/library/shlex.rsthttps://github.com/python/cpython/pull/604/files#diff-63770e5bef3ab9e3d32653fb77f41c4f049b1af983211948659f1c0c6db02665
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/shlex.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-63770e5bef3ab9e3d32653fb77f41c4f049b1af983211948659f1c0c6db02665
berkerpeksaghttps://github.com/berkerpeksag
Mar 22, 2017https://github.com/python/cpython/pull/604/files#r107367428
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/604/files
marco-buttuhttps://github.com/marco-buttu
Mar 22, 2017https://github.com/python/cpython/pull/604/files#r107374910
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@berkerpeksaghttps://github.com/berkerpeksag
Please reload this pagehttps://github.com/python/cpython/pull/604/files
berkerpeksaghttps://github.com/berkerpeksag
Apr 12, 2017https://github.com/python/cpython/pull/604/files#r111163151
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/604/files
marco-buttuhttps://github.com/marco-buttu
Apr 13, 2017https://github.com/python/cpython/pull/604/files#r111390720
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/604/files
marco-buttuhttps://github.com/marco-buttu
Apr 24, 2017https://github.com/python/cpython/pull/604/files#r112904330
Please reload this pagehttps://github.com/python/cpython/pull/604/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@berkerpeksaghttps://github.com/berkerpeksag
Please reload this pagehttps://github.com/python/cpython/pull/604/files
berkerpeksaghttps://github.com/berkerpeksag
Apr 26, 2017https://github.com/python/cpython/pull/604/files#r113401865
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/604/files
https://github.com/python/cpython/pull/604/files#diff-63770e5bef3ab9e3d32653fb77f41c4f049b1af983211948659f1c0c6db02665
https://github.com/python/cpython/pull/604/files#diff-63770e5bef3ab9e3d32653fb77f41c4f049b1af983211948659f1c0c6db02665
Doc/library/urllib.parse.rsthttps://github.com/python/cpython/pull/604/files#diff-f97a457691dcc7fd019d5f47ddea5cd6166b5b6efffc3d9a04e04455eb2deeba
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/library/urllib.parse.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-f97a457691dcc7fd019d5f47ddea5cd6166b5b6efffc3d9a04e04455eb2deeba
https://github.com/python/cpython/pull/604/files#diff-f97a457691dcc7fd019d5f47ddea5cd6166b5b6efffc3d9a04e04455eb2deeba
Doc/whatsnew/3.2.rsthttps://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
View file https://github.com/python/cpython/blob/2cd4aec4c95f93576eff23bd1818b56a64f49ba4/Doc/whatsnew/3.2.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/604/{{ revealButtonHref }}
https://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
https://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
https://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
https://github.com/python/cpython/pull/604/files#diff-d95e0860b0440122b4499dddd06417663e7e0e2ebe043214c0758dd7a29db0e2
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.