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.2k
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
gh-119247: Add macros to use PySequence_Fast safely in free-threaded build
- #119315
#119315
Merged
colesbury
merged 9 commits into
python:main
python/cpython:main
from
MojoVampire:fix-issue-119247
MojoVampire/cpython:fix-issue-119247
Copy head branch name to clipboard
May 22, 2024
Conversation
Commits
9
(9)
Checks
Files changed
Merged
gh-119247: Add macros to use PySequence_Fast safely in free-threaded build
#119315
colesbury
merged 9 commits into
python:main
python/cpython:main
from
MojoVampire:fix-issue-119247
MojoVampire/cpython:fix-issue-119247
Copy head branch name to clipboard
Commits
Commits on May 22, 2024
Initial work on critical sections for fast sequences while developing test for regressions
MojoVampire
committed
b22f6e2
View commit details
Copy full SHA for b22f6e2
Browse repository at this point
Test for efficacy of fast sequence locking macro on str.join, both tests segfault or die with assertion failures >95% of the time without locking macro, pass reliably with locking macro
MojoVampire
committed
2b4fe19
View commit details
Copy full SHA for 2b4fe19
Browse repository at this point
Blurb for change
MojoVampire
committed
536defc
View commit details
Copy full SHA for 536defc
Browse repository at this point
Update Include/internal/pycore_critical_section.h
Show description for 0475c8e
MojoVampire
and
colesbury
committed
0475c8e
View commit details
Copy full SHA for 0475c8e
Browse repository at this point
Tweak comments per review
Show description for 1f3cec0
MojoVampire
and
colesbury
committed
1f3cec0
View commit details
Copy full SHA for 1f3cec0
Browse repository at this point
Use braced if per review
Show description for 707852d
MojoVampire
and
colesbury
committed
707852d
View commit details
Copy full SHA for 707852d
Browse repository at this point
Per review, refactor extend test to extend multiple times, and reduce total time to run tests (both tests combine to less than 200 ms in debug build on my laptop)
MojoVampire
committed
66f0e6c
View commit details
Copy full SHA for 66f0e6c
Browse repository at this point
Remove listobject.h include per review (all users of pycore_critical_section include Python.h which provides listobject.h)
MojoVampire
committed
515ee56
View commit details
Copy full SHA for 515ee56
Browse repository at this point
Reduce readers in test_racing_join_replace to 10, use Event to synchronize, and perform multiple joins per loop to increase chance of repro without synchronization
MojoVampire
committed
254a5a5
View commit details
Copy full SHA for 254a5a5
Browse repository at this point
You can’t perform that action at this time.