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
Events
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 }}
TheAlgorithms
Python
Repository navigation
Code
Issues
9
(9)
Pull requests
66
(66)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Fix/bogo sort comparable typehint
- #15328
#15328
Closed
Pradhyut21
wants to merge 4 commits into
TheAlgorithms:master
TheAlgorithms/Python:master
from
Pradhyut21:fix/bogo-sort-comparable-typehint
Pradhyut21/Python:fix/bogo-sort-comparable-typehint
Copy head branch name to clipboard
Conversation
Commits
4
(4)
Checks
Files changed
Closed
Fix/bogo sort comparable typehint
#15328
Pradhyut21
wants to merge 4 commits into
TheAlgorithms:master
TheAlgorithms/Python:master
from
Pradhyut21:fix/bogo-sort-comparable-typehint
Pradhyut21/Python:fix/bogo-sort-comparable-typehint
Copy head branch name to clipboard
Commits
Commits on Sep 14, 2026
sorts: make bogo_sort work with any Comparable, not just int
Show description for 670d41d
Pradhyut21
committed
670d41d
View commit details
Copy full SHA for 670d41d
Browse repository at this point
fix: use PEP 695 type params and update formatting
Pradhyut21
committed
f7c6a15
View commit details
Copy full SHA for f7c6a15
Browse repository at this point
fix: use PEP 695 type params
Pradhyut21
committed
3fefc7b
View commit details
Copy full SHA for 3fefc7b
Browse repository at this point
fix: use PEP 695 type params, fix formatting and is_sorted logic
Pradhyut21
committed
3bc37c7
View commit details
Copy full SHA for 3bc37c7
Browse repository at this point
You can’t perform that action at this time.