René's URL Explorer Experiment


Title: fix(utils): Avoid double serialization of strings in safe_serialize by ericapisani · Pull Request #5587 · getsentry/sentry-python · GitHub

Open Graph Title: fix(utils): Avoid double serialization of strings in safe_serialize by ericapisani · Pull Request #5587 · getsentry/sentry-python

X Title: fix(utils): Avoid double serialization of strings in safe_serialize by ericapisani · Pull Request #5587 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: When serialize_item() inside safe_serialize() already returns a string (for plain strings, callables, or objects with __dict__), the subsequent json.dumps() call wraps it in extra quotes with escap...

X Description: When serialize_item() inside safe_serialize() already returns a string (for plain strings, callables, or objects with __dict__), the subsequent json.dumps() call wraps it in extra quotes with escap...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5587

X: @github

direct link

Domain: redirect.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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:05113ead-7ebd-6435-4456-94f93aa518e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3DA:1D86C4:3200E1:40F3F7:6B00D08F
html-safe-nonce42c9113462377f7dae35b76d61712a59986dbbcf362536112ec58330ec7dd21e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0RBOjFEODZDNDozMjAwRTE6NDBGM0Y3OjZCMDBEMDhGIiwidmlzaXRvcl9pZCI6IjQ2ODAxNDcyNDQ4NzAwNjIyMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca97236d1dabff7396a7f373b9037f455807808c64e6408cfb2a052358ef87186
hovercard-subject-tagpull_request:3354866845
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5587/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/392d85734444618e49c0dfd5c98a4d44bc8a8ba00925a3a6062d45e02e0d4705/getsentry/sentry-python/pull/5587
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/392d85734444618e49c0dfd5c98a4d44bc8a8ba00925a3a6062d45e02e0d4705/getsentry/sentry-python/pull/5587
og:image:altWhen serialize_item() inside safe_serialize() already returns a string (for plain strings, callables, or objects with __dict__), the subsequent json.dumps() call wraps it in extra quotes with escap...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericapisani
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/getsentry/sentry-python/pull/5587#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5587
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5587
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5587
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5587
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5587
getsentryhttps://redirect.github.com/getsentry
sentry-pythonhttps://redirect.github.com/getsentry/sentry-python
Codehttps://redirect.github.com/getsentry/sentry-python
Issues345 (345)https://redirect.github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://redirect.github.com/getsentry/sentry-python/pulls
Discussionshttps://redirect.github.com/getsentry/sentry-python/discussions
Actionshttps://redirect.github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://redirect.github.com/getsentry/sentry-python/security
Insightshttps://redirect.github.com/getsentry/sentry-python/insights
https://redirect.github.com/getsentry/sentry-python
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
ep/fix-double-serialization-in-pydantic-ai-tools-62hhttps://redirect.github.com/getsentry/sentry-python/tree/ep/fix-double-serialization-in-pydantic-ai-tools-62h
Conversationhttps://redirect.github.com/getsentry/sentry-python/pull/5587
Commits4 (4)https://redirect.github.com/getsentry/sentry-python/pull/5587/commits
Checkshttps://redirect.github.com/getsentry/sentry-python/pull/5587/checks
Files changedhttps://redirect.github.com/getsentry/sentry-python/pull/5587/files
fix(utils): Avoid double serialization of strings in safe_serializehttps://redirect.github.com/getsentry/sentry-python/pull/5587#top
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
ep/fix-double-serialization-in-pydantic-ai-tools-62hhttps://redirect.github.com/getsentry/sentry-python/tree/ep/fix-double-serialization-in-pydantic-ai-tools-62h
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Mar 4, 2026https://redirect.github.com/getsentry/sentry-python/pull/5587#issue-4023703953
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
fix(utils): Avoid double serialization of strings in safe_serializehttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/5937e9c401a13f552e67608f520555822ed98f90
5937e9chttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/5937e9c401a13f552e67608f520555822ed98f90
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 4, 2026https://redirect.github.com/getsentry/sentry-python/pull/5587#issuecomment-3999699336
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/apps/linear
linearhttps://redirect.github.com/apps/linear
Mar 4, 2026https://redirect.github.com/getsentry/sentry-python/pull/5587#issuecomment-3999703036
PY-2114 `pydantic-ai` attributes missinghttps://linear.app/getsentry/issue/PY-2114/pydantic-ai-attributes-missing
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 4, 2026https://redirect.github.com/getsentry/sentry-python/pull/5587#issuecomment-3999705277
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 4, 2026https://redirect.github.com/getsentry/sentry-python/pull/5587#issuecomment-3999705290
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
ericapisanihttps://redirect.github.com/ericapisani
March 4, 2026 14:53https://redirect.github.com/getsentry/sentry-python/pull/5587#commits-pushed-09eafa4
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
test(google_genai): Update expected values after safe_serialize fixhttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/09eafa48d2e825482e27e104874ab8d56ed38247
09eafa4https://redirect.github.com/getsentry/sentry-python/pull/5587/commits/09eafa48d2e825482e27e104874ab8d56ed38247
5937e9chttps://github.com/getsentry/sentry-python/commit/5937e9c401a13f552e67608f520555822ed98f90
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
test(mcp): Update expected values after safe_serialize fixhttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/b9f312cb2826a9c41e3db226a6f071fee575b6e8
b9f312chttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/b9f312cb2826a9c41e3db226a6f071fee575b6e8
5937e9chttps://github.com/getsentry/sentry-python/commit/5937e9c401a13f552e67608f520555822ed98f90
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
March 4, 2026 20:11https://redirect.github.com/getsentry/sentry-python/pull/5587#event-23272311611
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
code ownerhttps://redirect.github.com/getsentry/sentry-python/blob/da05b345bb13e9c482b9b2a086233b25f02ce9bd/.github/CODEOWNERS#L1
March 4, 2026 20:11https://redirect.github.com/getsentry/sentry-python/pull/5587#event-23272311791
https://redirect.github.com/sentrivana
sentrivanahttps://redirect.github.com/sentrivana
Mar 5, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5587#pullrequestreview-3894781017
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5587/files/c67af6a02842d7b510416da23a8c4c2f72b3f537
sentrivanahttps://redirect.github.com/sentrivana
https://redirect.github.com/getsentry/sentry-python/pull/5587#pullrequestreview-3894781017
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Mar 5, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5587#pullrequestreview-3895126827
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5587/files/c67af6a02842d7b510416da23a8c4c2f72b3f537
sentry_sdk/utils.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5587/files/b9f312cb2826a9c41e3db226a6f071fee575b6e8#diff-e9f88ca6368ce622839e078ed26c741a927752c01ceae64cd504d3ae86de6fd2
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/ericapisani
Merge branch 'master' into ep/fix-double-serialization-in-pydantic-ai…https://redirect.github.com/getsentry/sentry-python/pull/5587/commits/c67af6a02842d7b510416da23a8c4c2f72b3f537
c67af6ahttps://redirect.github.com/getsentry/sentry-python/pull/5587/commits/c67af6a02842d7b510416da23a8c4c2f72b3f537
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
f665331https://redirect.github.com/getsentry/sentry-python/commit/f665331302739f6ce09f91bda9b028eec660be40
Mar 5, 2026https://github.com/getsentry/sentry-python/pull/5587#event-23301630931
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
March 5, 2026 15:16https://redirect.github.com/getsentry/sentry-python/pull/5587#event-23301632101
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 17, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5587#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://redirect.github.com/getsentry/publish/issues/7485
https://github.co/hiddenchars
https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5587
https://redirect.github.com/sentrivana
sentrivana https://redirect.github.com/sentrivana
https://redirect.github.com/getsentry/sentry-python/pull/5587/files/c67af6a02842d7b510416da23a8c4c2f72b3f537
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webb https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/getsentry/sentry-python/pull/5587/files/c67af6a02842d7b510416da23a8c4c2f72b3f537
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5587
https://redirect.github.com/ericapisani
https://redirect.github.com/sentrivana
https://redirect.github.com/alexander-alderman-webb
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.