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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
memoryobject.c
on
3.4
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 29, 2015
Issue #22668: Ensure that format strings survive slicing after casting.
skrah
committed
fa5d6a5
View commit details
Copy full SHA for fa5d6a5
View code at this point
Browse repository at this point
Commits on Nov 20, 2013
ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.
Show description for 985ecdc
tiran
committed
985ecdc
View commit details
Copy full SHA for 985ecdc
View code at this point
Browse repository at this point
Commits on Oct 3, 2013
Issue #19014: memoryview.cast() is now allowed on zero-length views.
pitrou
committed
0e61ed8
View commit details
Copy full SHA for 0e61ed8
View code at this point
Browse repository at this point
Issue #19014: memoryview.cast() is now allowed on zero-length views.
pitrou
committed
60b1834
View commit details
Copy full SHA for 60b1834
View code at this point
Browse repository at this point
Commits on Oct 2, 2013
Close #19078: memoryview now supports reversed
Show description for a0f169c
ncoghlan
committed
a0f169c
View commit details
Copy full SHA for a0f169c
View code at this point
Browse repository at this point
Commits on Feb 19, 2013
Fix error messages.
skrah
committed
674a42b
View commit details
Copy full SHA for 674a42b
View code at this point
Browse repository at this point
Commits on Nov 2, 2012
Issue #15814: Use hash function that is compatible with the equality
Show description for 4af77a0
skrah
committed
4af77a0
View commit details
Copy full SHA for 4af77a0
View code at this point
Browse repository at this point
Commits on Sep 3, 2012
Issue #15855: added docstrings for memoryview methods and data descriptors new in 3.3.
abalkin
committed
f73c69e
View commit details
Copy full SHA for f73c69e
View code at this point
Browse repository at this point
Issue #15855: added docstrings for memoryview methods and data descriptors (merge 3.2).
abalkin
committed
e370c38
View commit details
Copy full SHA for e370c38
View code at this point
Browse repository at this point
Issue #15855: added docstrings for memoryview methods and data descriptors.
abalkin
committed
397e5c9
View commit details
Copy full SHA for 397e5c9
View code at this point
Browse repository at this point
Commits on Aug 25, 2012
Close #15573: use value-based memoryview comparisons (patch by Stefan Krah)
ncoghlan
committed
06e1ab0
View commit details
Copy full SHA for 06e1ab0
View code at this point
Browse repository at this point
Commits on Jul 28, 2012
Add unused parameter to a METH_NOARGS function.
skrah
committed
e4c0799
View commit details
Copy full SHA for e4c0799
View code at this point
Browse repository at this point
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
skrah
committed
7d12d9d
View commit details
Copy full SHA for 7d12d9d
View code at this point
Browse repository at this point
Commits on May 28, 2012
Issue #14930: Make memoryview objects weakrefable.
shibturn
committed
3e0a1eb
View commit details
Copy full SHA for 3e0a1eb
View code at this point
Browse repository at this point
Commits on Mar 5, 2012
Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do
Show description for 1649c1b
skrah
committed
1649c1b
View commit details
Copy full SHA for 1649c1b
View code at this point
Browse repository at this point
Issue #14181: Allow memoryview construction from an object that uses the
Show description for 4e99a31
skrah
committed
4e99a31
View commit details
Copy full SHA for 4e99a31
View code at this point
Browse repository at this point
Commits on Feb 25, 2012
- Issue #10181: New memoryview implementation fixes multiple ownership
Show description for 9a2d99e
skrah
committed
9a2d99e
View commit details
Copy full SHA for 9a2d99e
View code at this point
Browse repository at this point
Commits on Nov 21, 2011
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
pitrou
committed
ce4a9da
View commit details
Copy full SHA for ce4a9da
View code at this point
Browse repository at this point
Commits on Aug 11, 2011
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
Show description for dfc80e3
briancurtin
committed
dfc80e3
View commit details
Copy full SHA for dfc80e3
View code at this point
Browse repository at this point
Commits on Feb 24, 2011
Merged revisions 88550 via svnmerge from
Show description for 915605c
pitrou
committed
915605c
View commit details
Copy full SHA for 915605c
View code at this point
Browse repository at this point
Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with
Show description for 5bffa79
pitrou
committed
5bffa79
View commit details
Copy full SHA for 5bffa79
View code at this point
Browse repository at this point
Commits on Jan 18, 2011
Issue #10451: memoryview objects could allow to mutate a readable buffer.
Show description for ad62b03
pitrou
committed
ad62b03
View commit details
Copy full SHA for ad62b03
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Merge branches/pep-0384.
loewis
committed
4d0d471
View commit details
Copy full SHA for 4d0d471
View code at this point
Browse repository at this point
Commits on Nov 4, 2010
Issue #10293: Remove obsolete field in the PyMemoryView structure,
Show description for aeb6cee
pitrou
committed
aeb6cee
View commit details
Copy full SHA for aeb6cee
View code at this point
Browse repository at this point
Commits on Nov 3, 2010
deuglify
benjaminp
committed
8347328
View commit details
Copy full SHA for 8347328
View code at this point
Browse repository at this point
Commits on Sep 9, 2010
Issue #9757: memoryview objects get a release() method to release the
Show description for 6e6cc83
pitrou
committed
6e6cc83
View commit details
Copy full SHA for 6e6cc83
View code at this point
Browse repository at this point
Commits on Sep 1, 2010
Fix a compilation warning
pitrou
committed
c73b909
View commit details
Copy full SHA for c73b909
View code at this point
Browse repository at this point
Issue #9737: Fix a crash when trying to delete a slice or an item from
Show description for e0793ba
pitrou
committed
e0793ba
View commit details
Copy full SHA for e0793ba
View code at this point
Browse repository at this point
Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
Show description for f68c2a7
pitrou
committed
f68c2a7
View commit details
Copy full SHA for f68c2a7
View code at this point
Browse repository at this point
Commits on Aug 11, 2010
Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99
Show description for f0f4514
abalkin
committed
f0f4514
View commit details
Copy full SHA for f0f4514
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
Issue #7616: Fix copying of overlapping memoryview slices with the Intel
Show description for 1ac745b
pitrou
committed
1ac745b
View commit details
Copy full SHA for 1ac745b
View code at this point
Browse repository at this point
Commits on Feb 2, 2010
Merged revisions 77916 via svnmerge from
Show description for 05b7c56
pitrou
committed
05b7c56
View commit details
Copy full SHA for 05b7c56
View code at this point
Browse repository at this point
Commits on Aug 4, 2009
Slightly improve buffer-related error message.
birkenfeld
committed
61b96dc
View commit details
Copy full SHA for 61b96dc
View code at this point
Browse repository at this point
Commits on Jun 23, 2009
Issue 6329: Fix iteration for memoryviews.
rhettinger
committed
159eac9
View commit details
Copy full SHA for 159eac9
View code at this point
Browse repository at this point
Commits on Feb 8, 2009
remove memoryview.__str__ #5182
benjaminp
committed
8761855
View commit details
Copy full SHA for 8761855
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.