Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
pybind
/
pybind11
Public
Notifications
You must be signed in to change notification settings
Fork
2.3k
Star
18k
Code
Issues
572
Pull requests
132
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
type_caster_generic: add set_foreign_holder method for subclasses to implement
- #5862
#5862
Merged
oremanj
merged 8 commits into
pybind:master
pybind/pybind11:master
from
oremanj:set-foreign-holder
oremanj/pybind11:set-foreign-holder
Copy head branch name to clipboard
Oct 14, 2025
Conversation
Commits
8
(8)
Checks
Files changed
Merged
type_caster_generic: add set_foreign_holder method for subclasses to implement
#5862
oremanj
merged 8 commits into
pybind:master
pybind/pybind11:master
from
oremanj:set-foreign-holder
oremanj/pybind11:set-foreign-holder
Copy head branch name to clipboard
Commits
Commits on Oct 11, 2025
type_caster_generic: add set_foreign_holder method for subclasses to implement
oremanj
committed
17a1ff9
View commit details
Copy full SHA for 17a1ff9
Browse repository at this point
style: pre-commit fixes
pre-commit-ci[bot]
committed
f971060
View commit details
Copy full SHA for f971060
Browse repository at this point
Rename try_shared_from_this -> set_via_shared_from_this to avoid confusion against try_get_shared_from_this
oremanj
committed
fa66511
View commit details
Copy full SHA for fa66511
Browse repository at this point
Add comment explaining the limits of the test
oremanj
committed
8c760c4
View commit details
Copy full SHA for 8c760c4
Browse repository at this point
CI
oremanj
committed
524d54d
View commit details
Copy full SHA for 524d54d
Browse repository at this point
style: pre-commit fixes
pre-commit-ci[bot]
committed
68c8f3a
View commit details
Copy full SHA for 68c8f3a
Browse repository at this point
Commits on Oct 13, 2025
Fixes from code review
oremanj
committed
1a90708
View commit details
Copy full SHA for 1a90708
Browse repository at this point
style: pre-commit fixes
pre-commit-ci[bot]
committed
1ba6d64
View commit details
Copy full SHA for 1ba6d64
Browse repository at this point
You can’t perform that action at this time.