René's URL Explorer Experiment


Title: [3.15] gh-71896: Add a docs warning about trailing newlines ignored by `difflib.HtmlDiff` (GH-153930) by miss-islington · Pull Request #153965 · python/cpython · GitHub

Open Graph Title: [3.15] gh-71896: Add a docs warning about trailing newlines ignored by `difflib.HtmlDiff` (GH-153930) by miss-islington · Pull Request #153965 · python/cpython

X Title: [3.15] gh-71896: Add a docs warning about trailing newlines ignored by `difflib.HtmlDiff` (GH-153930) by miss-islington · Pull Request #153965 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: (cherry picked from commit 755d971) Co-authored-by: Lenormand Julien lenormand.julien0@gmail.com Issue: difflib.HtmlDiff produces different output from difflib.ndiff #71896

X Description: (cherry picked from commit 755d971) Co-authored-by: Lenormand Julien lenormand.julien0@gmail.com Issue: difflib.HtmlDiff produces different output from difflib.ndiff #71896

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:dd73af5a-1896-f1fc-2743-d06f23f8a2d8
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id99EA:323204:2009FB2:2A1E157:6B023BBE
html-safe-nonce84a8587a884af53a403b40bcc586c53e90aa4810ead3f18596ec0c38750b9633
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUVBOjMyMzIwNDoyMDA5RkIyOjJBMUUxNTc6NkIwMjNCQkUiLCJ2aXNpdG9yX2lkIjoiMjAwMjkyNjIzMzY4NDY5NDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac870c6cba525557d705da6631e35980f68016bc3ff893b11db7a6f503eef2cb9b
hovercard-subject-tagpull_request:4082487405
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/153965/checks
twitter:imagehttps://opengraph.githubassets.com/587496d90bfcdfedbcd44c1de4c4fd1e3adb6971689fb785edf72aa1ed5e24d8/python/cpython/pull/153965
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/587496d90bfcdfedbcd44c1de4c4fd1e3adb6971689fb785edf72aa1ed5e24d8/python/cpython/pull/153965
og:image:alt(cherry picked from commit 755d971) Co-authored-by: Lenormand Julien lenormand.julien0@gmail.com Issue: difflib.HtmlDiff produces different output from difflib.ndiff #71896
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiss-islington
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/153965/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153965%2Fchecks
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153965%2Fchecks
Sign uphttps://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%2Fchecks&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/153965/checks
Reloadhttps://github.com/python/cpython/pull/153965/checks
Reloadhttps://github.com/python/cpython/pull/153965/checks
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ZeroIntensityhttps://github.com/ZeroIntensity
python:3.15https://github.com/python/cpython/tree/3.15
miss-islington:backport-755d971-3.15https://github.com/miss-islington/cpython/tree/backport-755d971-3.15
Conversationhttps://github.com/python/cpython/pull/153965
Commits1 (1)https://github.com/python/cpython/pull/153965/commits
Checkshttps://github.com/python/cpython/pull/153965/checks
Files changedhttps://github.com/python/cpython/pull/153965/files
[3.15] gh-71896: Add a docs warning about trailing newlines ignored by difflib.HtmlDiff (GH-153930)https://github.com/python/cpython/pull/153965/checks#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:3.15https://github.com/python/cpython/tree/3.15
miss-islington:backport-755d971-3.15https://github.com/miss-islington/cpython/tree/backport-755d971-3.15
Please reload this pagehttps://github.com/python/cpython/pull/153965/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153965%2Fchecks
Check labels on: pull_request https://github.com/python/cpython/actions/runs/29646582249
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/29646582249/job/88085753243?pr=153965
Unresolved review https://github.com/python/cpython/actions/runs/29646582249/job/88085753225?pr=153965
Lint on: pull_request https://github.com/python/cpython/actions/runs/29646582250
lint https://github.com/python/cpython/actions/runs/29646582250/job/88085753330?pr=153965
Tests on: pull_request https://github.com/python/cpython/actions/runs/29646582407
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/29646582407/job/88085753794?pr=153965
Docs / Docs https://github.com/python/cpython/actions/runs/29646582407/job/88085777500?pr=153965
Docs / Doctest https://github.com/python/cpython/actions/runs/29646582407/job/88085777507?pr=153965
Docs / Check EPUB https://github.com/python/cpython/actions/runs/29646582407/job/88085777497?pr=153965
Docs / Check for removed HTML IDs / Check for removed HTML IDs https://github.com/python/cpython/actions/runs/29646582407/job/88085952559?pr=153965
Check if the ABI has changed https://github.com/python/cpython/actions/runs/29646582407/job/88085777196?pr=153965
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/29646582407/job/88085777185?pr=153965
Check if generated files are up to date https://github.com/python/cpython/actions/runs/29646582407/job/88085777160?pr=153965
C API Docs / Check if all C APIs are documented https://github.com/python/cpython/actions/runs/29646582407/job/88085777353?pr=153965
Windows / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/29646582407/job/88085777439?pr=153965
Windows (free-threading) / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/29646582407/job/88085777413?pr=153965
Windows / Build and test (Win32, switch-case) https://github.com/python/cpython/actions/runs/29646582407/job/88085777433?pr=153965
Windows / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/29646582407/job/88085777435?pr=153965
Windows (free-threading) / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/29646582407/job/88085777431?pr=153965
Windows / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/29646582407/job/88085777475?pr=153965
Windows (free-threading) / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/29646582407/job/88085777437?pr=153965
Windows MSI${{ '' }} https://github.com/python/cpython/actions/runs/29646582407/job/88085777492?pr=153965
macOS / build and test (macos-26) https://github.com/python/cpython/actions/runs/29646582407/job/88085777489?pr=153965
macOS (free-threading) / build and test (macos-26) https://github.com/python/cpython/actions/runs/29646582407/job/88085777463?pr=153965
macOS / build and test (macos-26-intel) https://github.com/python/cpython/actions/runs/29646582407/job/88085777455?pr=153965
Ubuntu / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/29646582407/job/88085777405?pr=153965
Ubuntu / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/29646582407/job/88085777395?pr=153965
Ubuntu (free-threading) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/29646582407/job/88085777380?pr=153965
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/29646582407/job/88085777403?pr=153965
Ubuntu (bolt) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/29646582407/job/88085777429?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w) https://github.com/python/cpython/actions/runs/29646582407/job/88085777345?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.21) https://github.com/python/cpython/actions/runs/29646582407/job/88085777335?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.6) https://github.com/python/cpython/actions/runs/29646582407/job/88085777317?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.7) https://github.com/python/cpython/actions/runs/29646582407/job/88085777361?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.3) https://github.com/python/cpython/actions/runs/29646582407/job/88085777304?pr=153965
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.1) https://github.com/python/cpython/actions/runs/29646582407/job/88085777332?pr=153965
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.0.0) https://github.com/python/cpython/actions/runs/29646582407/job/88085777310?pr=153965
Android (aarch64) https://github.com/python/cpython/actions/runs/29646582407/job/88085777137?pr=153965
Android (x86_64) https://github.com/python/cpython/actions/runs/29646582407/job/88085777164?pr=153965
iOS https://github.com/python/cpython/actions/runs/29646582407/job/88085777156?pr=153965
Emscripten / build and test https://github.com/python/cpython/actions/runs/29646582407/job/88085777370?pr=153965
WASI / build and test https://github.com/python/cpython/actions/runs/29646582407/job/88085777373?pr=153965
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/29646582407/job/88085777198?pr=153965
Address sanitizer (ubuntu-26.04) https://github.com/python/cpython/actions/runs/29646582407/job/88085777189?pr=153965
Sanitizers / TSan https://github.com/python/cpython/actions/runs/29646582407/job/88085777537?pr=153965
Sanitizers / TSan (free-threading) https://github.com/python/cpython/actions/runs/29646582407/job/88085777522?pr=153965
Sanitizers / UBSan https://github.com/python/cpython/actions/runs/29646582407/job/88085777514?pr=153965
Cross build Linux https://github.com/python/cpython/actions/runs/29646582407/job/88085777201?pr=153965
CIFuzz / python3-libraries (address) https://github.com/python/cpython/actions/runs/29646582407/job/88085777441?pr=153965
CIFuzz / cpython3 (undefined) https://github.com/python/cpython/actions/runs/29646582407/job/88085777512?pr=153965
CIFuzz / cpython3 (memory) https://github.com/python/cpython/actions/runs/29646582407/job/88085777464?pr=153965
All required checks pass https://github.com/python/cpython/actions/runs/29646582407/job/88088017567?pr=153965
Check labels on: pull_request https://github.com/python/cpython/actions/runs/29646585560
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/29646585560/job/88085761100?pr=153965
Unresolved review https://github.com/python/cpython/actions/runs/29646585560/job/88085761106?pr=153965
Check labels on: pull_request https://github.com/python/cpython/actions/runs/29646585569
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/29646585569/job/88085761154?pr=153965
Unresolved review https://github.com/python/cpython/actions/runs/29646585569/job/88085761146?pr=153965
Check labels on: pull_request https://github.com/python/cpython/actions/runs/29646586126
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/29646586126/job/88085762506?pr=153965
Unresolved review https://github.com/python/cpython/actions/runs/29646586126/job/88085762503?pr=153965
ClusterFuzzLite/CIFuzz https://github.com/python/cpython/pull/153965/checks?check_run_id=88087533129
Check labels on: pull_request https://github.com/python/cpython/actions/runs/29647478407
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/29647478407/job/88088035049?pr=153965
Unresolved review https://github.com/python/cpython/actions/runs/29647478407/job/88088035044?pr=153965
https://github.com/python/cpython/pull/153965/checks#annotation:3:15
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.