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
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
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.6k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes
- #126938
#126938
Merged
encukou
merged 20 commits into
python:main
python/cpython:main
from
Melissa0x1f992:main
Melissa0x1f992/cpython:main
Copy head branch name to clipboard
Dec 10, 2024
Conversation
Commits
20
(20)
Checks
Files changed
Merged
gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes
#126938
encukou
merged 20 commits into
python:main
python/cpython:main
from
Melissa0x1f992:main
Melissa0x1f992/cpython:main
Copy head branch name to clipboard
Commits
Commits on Nov 17, 2024
Fix rejection when non-bitfield fields are larger than 2^16 bytes
Melissa0x1f992
committed
1962567
View commit details
Copy full SHA for 1962567
Browse repository at this point
Merge pull request #1 from Melissa0x1f992/use-bitsize-param
Show description for 1900cf5
Melissa0x1f992
authored
1900cf5
View commit details
Copy full SHA for 1900cf5
Browse repository at this point
📜🤖 Added by blurb_it.
blurb-it[bot]
authored
2bd972b
View commit details
Copy full SHA for 2bd972b
Browse repository at this point
Update Modules/_ctypes/cfield.c
terryjreedy
authored
d2954cd
View commit details
Copy full SHA for d2954cd
Browse repository at this point
Commits on Nov 18, 2024
Remove specific dependency on Python 3.12 for black
Melissa0x1f992
committed
0d21229
View commit details
Copy full SHA for 0d21229
Browse repository at this point
Add test case for large fields
Melissa0x1f992
committed
d8a6f08
View commit details
Copy full SHA for d8a6f08
Browse repository at this point
Merge pull request #2 from Melissa0x1f992/use-bitsize-param
Show description for 16bfb44
Melissa0x1f992
authored
16bfb44
View commit details
Copy full SHA for 16bfb44
Browse repository at this point
Reduce test field size to (2^31 - 1) to support 32 bit systems
Melissa0x1f992
committed
7402a8f
View commit details
Copy full SHA for 7402a8f
Browse repository at this point
Merge branch 'python:main' into main
Melissa0x1f992
authored
8994ad0
View commit details
Copy full SHA for 8994ad0
Browse repository at this point
Reduce test field size to (2^31 - 1) to support 32 bit systems
Melissa0x1f992
committed
db171e0
View commit details
Copy full SHA for db171e0
Browse repository at this point
Merge pull request #3 from Melissa0x1f992/use-bitsize-param
Show description for 7bc0ceb
Melissa0x1f992
authored
7bc0ceb
View commit details
Copy full SHA for 7bc0ceb
Browse repository at this point
Commits on Dec 4, 2024
Merge in the main branch
encukou
committed
cd8c011
View commit details
Copy full SHA for cd8c011
Browse repository at this point
Remove pre-commit config (moved to #126971)
encukou
committed
a3bd171
View commit details
Copy full SHA for a3bd171
Browse repository at this point
Use PyLong_AsSsize_t to convert to Py_ssize_t
encukou
committed
5e8aec0
View commit details
Copy full SHA for 5e8aec0
Browse repository at this point
Test maximum field size (sys.maxsize / 8, so we can count bits later)
encukou
committed
7d3bb10
View commit details
Copy full SHA for 7d3bb10
Browse repository at this point
Rework the asserts.
encukou
committed
946f261
View commit details
Copy full SHA for 946f261
Browse repository at this point
Test naked c_char as well
encukou
committed
19c1b3b
View commit details
Copy full SHA for 19c1b3b
Browse repository at this point
Better name for the test
encukou
committed
dcf97f2
View commit details
Copy full SHA for dcf97f2
Browse repository at this point
Add comment
encukou
committed
03bc32b
View commit details
Copy full SHA for 03bc32b
Browse repository at this point
Reword changelog
Show description for f61faa6
encukou
committed
f61faa6
View commit details
Copy full SHA for f61faa6
Browse repository at this point
You can’t perform that action at this time.