Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
gh-156995: Fix
bytearray.take_bytes()
corrupting shared single-byte bytes objects
- #156996
#156996
Merged
vstinner
merged 5 commits into
python:main
python/cpython:main
from
StanFromIreland:bytearray.take_bytes
StanFromIreland/cpython:bytearray.take_bytes
Copy head branch name to clipboard
Sep 10, 2026
Conversation
Commits
5
(5)
Checks
Files changed
Merged
gh-156995: Fix
bytearray.take_bytes()
corrupting shared single-byte bytes objects
#156996
vstinner
merged 5 commits into
python:main
python/cpython:main
from
StanFromIreland:bytearray.take_bytes
StanFromIreland/cpython:bytearray.take_bytes
Copy head branch name to clipboard
Commits
Commits on Sep 5, 2026
Fix `bytearray.take_bytes()` corrupting shared single-byte bytes objects
StanFromIreland
committed
fad1503
View commit details
Copy full SHA for fad1503
Browse repository at this point
Fixup comment
StanFromIreland
committed
a67dbe9
View commit details
Copy full SHA for a67dbe9
Browse repository at this point
Apply Cody's suggestions
Show description for 125aa2a
StanFromIreland
and
cmaloney
committed
125aa2a
View commit details
Copy full SHA for 125aa2a
Browse repository at this point
Update Objects/bytearrayobject.c
Show description for b781cab
StanFromIreland
and
cmaloney
authored
b781cab
View commit details
Copy full SHA for b781cab
Browse repository at this point
Commits on Sep 10, 2026
Apply @vstinner's suggested tests
Show description for e9f3a4d
StanFromIreland
and
vstinner
committed
e9f3a4d
View commit details
Copy full SHA for e9f3a4d
Browse repository at this point
You can’t perform that action at this time.