René's URL Explorer Experiment


Title: sorts/radix_sort.py: radix_sort() does not raise exception for negative inputs · Issue #14950 · TheAlgorithms/Python · GitHub

Open Graph Title: sorts/radix_sort.py: radix_sort() does not raise exception for negative inputs · Issue #14950 · TheAlgorithms/Python

X Title: sorts/radix_sort.py: radix_sort() does not raise exception for negative inputs · Issue #14950 · TheAlgorithms/Python

Description: Repository commit 567bb93 Python version (python --version) Python 3.14.2 Dependencies version (pip freeze) contourpy==1.3.3 cycler==0.12.1 dnspython==2.8.0 fonttools==4.62.1 iniconfig==2.3.0 kiwisolver==1.5.0 matplotlib==3.10.8 numpy==2...

Open Graph Description: Repository commit 567bb93 Python version (python --version) Python 3.14.2 Dependencies version (pip freeze) contourpy==1.3.3 cycler==0.12.1 dnspython==2.8.0 fonttools==4.62.1 iniconfig==2.3.0 kiwis...

X Description: Repository commit 567bb93 Python version (python --version) Python 3.14.2 Dependencies version (pip freeze) contourpy==1.3.3 cycler==0.12.1 dnspython==2.8.0 fonttools==4.62.1 iniconfig==2.3.0 kiwis...

Opengraph URL: https://github.com/TheAlgorithms/Python/issues/14950

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sorts/radix_sort.py: radix_sort() does not raise exception for negative inputs","articleBody":"### Repository commit\n\n567bb935d45af0d089b977c7b5fbfc2c5e569397\n\n### Python version (python --version)\n\nPython 3.14.2\n\n### Dependencies version (pip freeze)\n\ncontourpy==1.3.3\ncycler==0.12.1\ndnspython==2.8.0\nfonttools==4.62.1\niniconfig==2.3.0\nkiwisolver==1.5.0\nmatplotlib==3.10.8\nnumpy==2.4.4\npackaging==26.0\npillow==12.2.0\npluggy==1.6.0\nPygments==2.20.0\npymongo==4.17.0\npyparsing==3.3.2\npytest==9.1.1\npytest-timeout==2.4.0\npython-dateutil==2.9.0.post0\npyzmq==27.1.0\nsix==1.17.0\n\n### Expected behavior\n\nradix_sort() should raise a value error when a negative value is used.\n\nex. radix_sort([1, 3, -2, 4]) should raise ValueError because a negative value will not map to the correct bucket.\n\n### Actual behavior\n\nWhen provided a negative value, radix_sort() proceeds with sorting and returns an incorrectly sorted array.\nEx. radix_sort([1, 3, -2, 4]) returns [1, 3, 4, -2] \n\nPlace [test_radix_sort.py](https://github.com/user-attachments/files/30175030/test_radix_sort.py) in the same directory and run \"pytest test_radix_sort.py\" to replicate.\n\n\u003cimg width=\"836\" height=\"393\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3fa8dff2-11ba-4569-ad25-9eff9fa46e58\" />\n\nThis is a small bug, but violates the [definition](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md#what-is-an-algorithm) that \"Algorithms should: ... raise Python exceptions (ValueError, etc.) on erroneous input values.\"\n\n### Suggested action\nAdd a check when sorting the list_of_ints into buckets that raises a ValueError if i \u003c 0. I am willing to implement this.","author":{"url":"https://github.com/greemich-bot","@type":"Person","name":"greemich-bot"},"datePublished":"2026-07-20T04:11:50Z","url":"https://github.com/TheAlgorithms/Python/issues/14950"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bda396d2-a1bd-cc17-76f0-55e8ba4c8e98
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id868C:ABEA3:31D44F:41D8D8:6AFBB887
html-safe-nonce71f587497005391c8924cb320445e0192e61139dd47d32483dd43e067bd1f4ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjhDOkFCRUEzOjMxRDQ0Rjo0MUQ4RDg6NkFGQkI4ODciLCJ2aXNpdG9yX2lkIjoiOTExNjE5MDM2MDk3ODgzMTQ5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac44b5343819c2a5fe734fc5f4427b525b3a132e51ee6a8f12609b7c85466ee883
hovercard-subject-tagissue:4925701718
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TheAlgorithms/Python/14950/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3998dc43e0ab9ee72e3197c2142425e36b8f60a86ab984776df52c7aef448a4f/TheAlgorithms/Python/issues/14950
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3998dc43e0ab9ee72e3197c2142425e36b8f60a86ab984776df52c7aef448a4f/TheAlgorithms/Python/issues/14950
og:image:altRepository commit 567bb93 Python version (python --version) Python 3.14.2 Dependencies version (pip freeze) contourpy==1.3.3 cycler==0.12.1 dnspython==2.8.0 fonttools==4.62.1 iniconfig==2.3.0 kiwis...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegreemich-bot
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/issues/14950#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fissues%2F14950
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fissues%2F14950
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TheAlgorithms%2FPython
Reloadhttps://github.com/TheAlgorithms/Python/issues/14950
Reloadhttps://github.com/TheAlgorithms/Python/issues/14950
Reloadhttps://github.com/TheAlgorithms/Python/issues/14950
TheAlgorithmshttps://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Codehttps://github.com/TheAlgorithms/Python
Issues14 (14)https://github.com/TheAlgorithms/Python/issues
Pull requests104 (104)https://github.com/TheAlgorithms/Python/pulls
Discussionshttps://github.com/TheAlgorithms/Python/discussions
Actionshttps://github.com/TheAlgorithms/Python/actions
Projectshttps://github.com/TheAlgorithms/Python/projects
Wikihttps://github.com/TheAlgorithms/Python/wiki
Security and qualityhttps://github.com/TheAlgorithms/Python/security
Insightshttps://github.com/TheAlgorithms/Python/pulse
https://github.com/TheAlgorithms/Python
New issuehttps://github.com/login?return_to=https://github.com/TheAlgorithms/Python/issues/14950
New issuehttps://github.com/login?return_to=https://github.com/TheAlgorithms/Python/issues/14950
#14986https://github.com/TheAlgorithms/Python/pull/14986
sorts/radix_sort.py: radix_sort() does not raise exception for negative inputshttps://github.com/TheAlgorithms/Python/issues/14950#top
#14986https://github.com/TheAlgorithms/Python/pull/14986
bughttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22bug%22
good first issuehttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
hacktoberfesthttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22hacktoberfest%22
https://github.com/greemich-bot
greemich-bothttps://github.com/greemich-bot
on Jul 20, 2026https://github.com/TheAlgorithms/Python/issues/14950#issue-4925701718
567bb93https://github.com/TheAlgorithms/Python/commit/567bb935d45af0d089b977c7b5fbfc2c5e569397
test_radix_sort.pyhttps://github.com/user-attachments/files/30175030/test_radix_sort.py
https://private-user-images.githubusercontent.com/236512693/623731029-3fa8dff2-11ba-4569-ad25-9eff9fa46e58.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4ODE5NzEsIm5iZiI6MTc5NDg4MTY3MSwicGF0aCI6Ii8yMzY1MTI2OTMvNjIzNzMxMDI5LTNmYThkZmYyLTExYmEtNDU2OS1hZDI1LTllZmY5ZmE0NmU1OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTExN1QwMjE0MzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YzRmNzQyNDViZmVmNmRmMDg5NTU2YWVlN2IwYmM3OTM4MDZhZTA5ZTNmZTMwMmY0YzI5OTkzMjc4Y2RmNDczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.evHlKnAdmNPQ4wHvr2Rfuqbmv2YTT7UwCbI_OS38CSs
definitionhttps://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md#what-is-an-algorithm
greemich-bothttps://github.com/greemich-bot
bughttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 20, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-28193891169
https://github.com/greemich-bot
greemich-bothttps://github.com/greemich-bot
on Jul 21, 2026https://github.com/TheAlgorithms/Python/issues/14950#issuecomment-5040167478
https://github.com/Ix3WUhpgTPE
Ix3WUhpgTPEhttps://github.com/Ix3WUhpgTPE
on Jul 22, 2026https://github.com/TheAlgorithms/Python/issues/14950#issuecomment-5043068411
TheRodzzhttps://github.com/TheRodzz
on Jul 31, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-28788565203
fix(sorts): raise ValueError for negative inputs in radix_sort (TheAl…https://github.com/TheRodzz/Python/commit/3708659b621933bd8ef81a939f841268712882f6
TheAl…https://github.com/TheAlgorithms/Python/issues/14950
3708659https://github.com/TheRodzz/Python/commit/3708659b621933bd8ef81a939f841268712882f6
fix(sorts): raise ValueError for negative inputs in radix_sort (TheAl…https://github.com/TheRodzz/Python/commit/e2d0fe1055945000a2fe8952cc2f4bf22a8c24d7
TheAl…https://github.com/TheAlgorithms/Python/issues/14950
e2d0fe1https://github.com/TheRodzz/Python/commit/e2d0fe1055945000a2fe8952cc2f4bf22a8c24d7
fix(sorts): raise ValueError for negative inputs in radix_sort (TheAl…https://github.com/TheRodzz/Python/commit/509c795c066381282b3eff3cd03c4f5645c45c7e
TheAl…https://github.com/TheAlgorithms/Python/issues/14950
509c795https://github.com/TheRodzz/Python/commit/509c795c066381282b3eff3cd03c4f5645c45c7e
deepshekhardashttps://github.com/deepshekhardas
on Aug 21, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-29784530178
fix(radix_sort): raise ValueError for negative inputshttps://github.com/deepshekhardas/Python/commit/dcc1d8870242ed4618d368ef9dc10693eb1f9b59
https://docs.github.com/articles/closing-issues-via-commit-messages
dcc1d88https://github.com/deepshekhardas/Python/commit/dcc1d8870242ed4618d368ef9dc10693eb1f9b59
cclausshttps://github.com/cclauss
hacktoberfesthttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22hacktoberfest%22
good first issuehttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
on Sep 6, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-30648541796
cclausshttps://github.com/cclauss
completedhttps://github.com/TheAlgorithms/Python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#14986https://github.com/TheAlgorithms/Python/pull/14986
on Sep 9, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-30827242786
pullhttps://github.com/apps/pull
on Sep 9, 2026https://github.com/TheAlgorithms/Python/issues/14950#event-30827248130
fix(sorts): raise ValueError for negative inputs in radix_sort (TheAl…https://github.com/Lazeeez/Python/commit/5a6cc4869ad955ea96aa660fce58f1614180261d
TheAl…https://github.com/TheAlgorithms/Python/issues/14950
5a6cc48https://github.com/Lazeeez/Python/commit/5a6cc4869ad955ea96aa660fce58f1614180261d
Sign up for freehttps://github.com/signup?return_to=https://github.com/TheAlgorithms/Python/issues/14950
Sign in to commenthttps://github.com/login?return_to=https://github.com/TheAlgorithms/Python/issues/14950
bughttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22bug%22
good first issuehttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
hacktoberfesthttps://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22hacktoberfest%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.