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
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Modules
_struct.c
on
3.7
User selector
All users
All time
Commit history
Commits on May 26, 2020
[3.8] bpo-35714: Reject null characters in struct format strings (GH-16928) (GH-20419)
Show description for 4ea8028
miss-islington
and
ZackerySpytz
authored
4ea8028
View commit details
Copy full SHA for 4ea8028
View code at this point
Browse repository at this point
Commits on Mar 31, 2020
bpo-39689: Do not use native packing for format "?" with standard size (GH-18969)
Show description for 0f9e889
miss-islington
and
Stefan Krah
authored
0f9e889
View commit details
Copy full SHA for 0f9e889
View code at this point
Browse repository at this point
Commits on Dec 15, 2017
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
serhiy-storchaka
authored
a5552f0
View commit details
Copy full SHA for a5552f0
View code at this point
Browse repository at this point
Commits on Sep 14, 2017
bpo-30246: fix several error messages which only mention bytes in struct (#1421)
zhangyangyu
authored
c3e97d9
View commit details
Copy full SHA for c3e97d9
View code at this point
Browse repository at this point
Commits on Aug 24, 2017
bpo-31095: fix potential crash during GC (GH-2974)
methane
authored
a6296d3
View commit details
Copy full SHA for a6296d3
View code at this point
Browse repository at this point
Commits on Jul 3, 2017
bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)
Show description for 6969eaf
serhiy-storchaka
authored
6969eaf
View commit details
Copy full SHA for 6969eaf
View code at this point
Browse repository at this point
Commits on Jun 23, 2017
bpo-21071: struct.Struct.format type is now str (#845)
vstinner
authored
f87b85f
View commit details
Copy full SHA for f87b85f
View code at this point
Browse repository at this point
Commits on Jun 15, 2017
bpo-20627: Fix error message when keyword arguments are used (#2115)
SylvainDe
authored and
serhiy-storchaka
committed
96c7c06
View commit details
Copy full SHA for 96c7c06
View code at this point
Browse repository at this point
Commits on Jun 2, 2017
bpo-30245: Fix possible overflow when organize struct.pack_into error message (#1682)
johanliu
authored and
zhangyangyu
committed
aead53b
View commit details
Copy full SHA for aead53b
View code at this point
Browse repository at this point
Commits on May 15, 2017
bpo-30242: resolve some undefined behaviours in struct (#1418)
zhangyangyu
authored
981096f
View commit details
Copy full SHA for 981096f
View code at this point
Browse repository at this point
bpo-30224: remove outdated checks in struct (#1374)
zhangyangyu
authored
96f5028
View commit details
Copy full SHA for 96f5028
View code at this point
Browse repository at this point
Commits on Apr 20, 2017
bpo-29802: Fix reference counting in module-level struct functions (#1213)
Show description for 40db90c
serhiy-storchaka
authored
40db90c
View commit details
Copy full SHA for 40db90c
View code at this point
Browse repository at this point
Commits on Apr 4, 2017
bpo-29649: Improve struct.pack_into() boundary error messages (#424)
andrewnester
authored and
serhiy-storchaka
committed
f78b119
View commit details
Copy full SHA for f78b119
View code at this point
Browse repository at this point
Commits on Feb 4, 2017
Issue #29300: Use Argument Clinic for getting struct object from the format.
serhiy-storchaka
committed
a5a5590
View commit details
Copy full SHA for a5a5590
View code at this point
Browse repository at this point
Commits on Feb 2, 2017
Rename struct.unpack() 2nd parameter to "buffer"
Show description for c0f59ad
vstinner
committed
c0f59ad
View commit details
Copy full SHA for c0f59ad
View code at this point
Browse repository at this point
Issue #29300: Convert _struct module to Argument Clinic
Show description for 3f2d101
vstinner
committed
3f2d101
View commit details
Copy full SHA for 3f2d101
View code at this point
Browse repository at this point
Commits on Dec 16, 2016
Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
serhiy-storchaka
committed
5ab81d7
View commit details
Copy full SHA for 5ab81d7
View code at this point
Browse repository at this point
Commits on Dec 4, 2016
Backed out changeset b9c9691c72c5
Show description for de4ae3d
vstinner
committed
de4ae3d
View commit details
Copy full SHA for de4ae3d
View code at this point
Browse repository at this point
Commits on Dec 1, 2016
Replace PyObject_CallFunctionObjArgs() with fastcall
Show description for 27580c1
vstinner
committed
27580c1
View commit details
Copy full SHA for 27580c1
View code at this point
Browse repository at this point
Commits on Oct 4, 2016
Closes #21124, #28337: Call PyType_Ready on unpackiter_type.
Show description for 99f11b4
zware
committed
99f11b4
View commit details
Copy full SHA for 99f11b4
View code at this point
Browse repository at this point
Commits on Oct 2, 2016
Issue #21124: Fix building _struct on Cygwin.
Show description for 854adb1
zware
committed
854adb1
View commit details
Copy full SHA for 854adb1
View code at this point
Browse repository at this point
Commits on Sep 20, 2016
merge 3.5 (#28184)
benjaminp
committed
e2e792d
View commit details
Copy full SHA for e2e792d
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
require C99 bool
benjaminp
committed
a9296e7
View commit details
Copy full SHA for a9296e7
View code at this point
Browse repository at this point
Commits on Sep 6, 2016
replace PY_LONG_LONG with long long
benjaminp
committed
af580df
View commit details
Copy full SHA for af580df
View code at this point
Browse repository at this point
require a long long data type (closes #27961)
benjaminp
committed
ed4aa83
View commit details
Copy full SHA for ed4aa83
View code at this point
Browse repository at this point
Commits on Sep 3, 2016
Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.
mdickinson
committed
7c4e409
View commit details
Copy full SHA for 7c4e409
View code at this point
Browse repository at this point
Commits on Apr 15, 2016
merge heads
gpshead
committed
b0c6380
View commit details
Copy full SHA for b0c6380
View code at this point
Browse repository at this point
Issue #26535: Correct docs regarding the struct buffer size
vadmium
committed
b030991
View commit details
Copy full SHA for b030991
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
ec39756
View commit details
Copy full SHA for ec39756
View code at this point
Browse repository at this point
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
4884271
View commit details
Copy full SHA for 4884271
View code at this point
Browse repository at this point
Commits on Dec 27, 2015
Issue #20440: Applied yet one patch for using Py_SETREF.
Show description for bdb908e
serhiy-storchaka
committed
bdb908e
View commit details
Copy full SHA for bdb908e
View code at this point
Browse repository at this point
Issue #20440: Applied yet one patch for using Py_SETREF.
Show description for 4a1e70f
serhiy-storchaka
committed
4a1e70f
View commit details
Copy full SHA for 4a1e70f
View code at this point
Browse repository at this point
Commits on Dec 25, 2015
Issue #25923: Added more const qualifiers to signatures of static and private functions.
serhiy-storchaka
committed
ef1585e
View commit details
Copy full SHA for ef1585e
View code at this point
Browse repository at this point
Issue #25923: Added the const qualifier to static constant arrays.
serhiy-storchaka
committed
2d06e84
View commit details
Copy full SHA for 2d06e84
View code at this point
Browse repository at this point
Commits on Dec 19, 2015
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Show description for 5c4064e
serhiy-storchaka
committed
5c4064e
View commit details
Copy full SHA for 5c4064e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.