René's URL Explorer Experiment


Title: gh-111495: Add tests for PyNumber C API by skirpichev · Pull Request #111996 · python/cpython · GitHub

Open Graph Title: gh-111495: Add tests for PyNumber C API by skirpichev · Pull Request #111996 · python/cpython

X Title: gh-111495: Add tests for PyNumber C API by skirpichev · Pull Request #111996 · python/cpython

Description: Issue: gh-111495

Open Graph Description: Issue: gh-111495

X Description: Issue: gh-111495

Opengraph URL: https://github.com/python/cpython/pull/111996

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8d79c2be-6bc8-c0a5-ef07-14911c4dd0e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBAF4:2D5677:5EF3AC:832BD1:69694D56
html-safe-nonce5f61e2f3bb9f0a1314f55cc24b748a0b848b578f0ffcc1d84af1def64adfa348
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUY0OjJENTY3Nzo1RUYzQUM6ODMyQkQxOjY5Njk0RDU2IiwidmlzaXRvcl9pZCI6IjMyNzM3Nzc2NDU2MzAzNDQ1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2c65a0a73220380f1e4c01abe11bbcc0aba48cd25d8851d4d90fd067096cce1b
hovercard-subject-tagpull_request:1597607297
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/111996/files
twitter:imagehttps://avatars.githubusercontent.com/u/2155800?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2155800?s=400&v=4
og:image:altIssue: gh-111495
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/111996/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F111996%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F111996%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/111996/files
Reloadhttps://github.com/python/cpython/pull/111996/files
Reloadhttps://github.com/python/cpython/pull/111996/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:capi-number-testshttps://github.com/skirpichev/cpython/tree/capi-number-tests
Conversation 85 https://github.com/python/cpython/pull/111996
Commits 38 https://github.com/python/cpython/pull/111996/commits
Checks 0 https://github.com/python/cpython/pull/111996/checks
Files changed https://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
gh-111495: Add tests for PyNumber C API https://github.com/python/cpython/pull/111996/files#top
Show all changes 38 commits https://github.com/python/cpython/pull/111996/files
cbca658 gh-111495: Add tests for PyNumber C API skirpichev Nov 5, 2023 https://github.com/python/cpython/pull/111996/commits/cbca6588c5fdd2f9466b9011181e5c9d79b6050c
0d95d57 Remove inaccessible code (PyLong_AsSsize_t raises OverflowError) skirpichev Nov 10, 2023 https://github.com/python/cpython/pull/111996/commits/0d95d578fca466ac10b014f7c127dc34dc8e6444
7b8adb4 Drop checks for broken float subclasses (like for PyNumber_Long in 31… skirpichev Nov 11, 2023 https://github.com/python/cpython/pull/111996/commits/7b8adb48673962c3274f66242979d40138826904
4665f25 + tests with sets for intersection/union/etc skirpichev Nov 13, 2023 https://github.com/python/cpython/pull/111996/commits/4665f25652ce6fd51996b46a7aa18e7a49254b38
9e14905 Use macroses skirpichev Nov 13, 2023 https://github.com/python/cpython/pull/111996/commits/9e149056d74a90beebb43eddc4380dc9d8874ad5
c0f4051 Merge branch 'main' into capi-number-tests skirpichev Nov 13, 2023 https://github.com/python/cpython/pull/111996/commits/c0f40511805f8e063001e5f772c6066f2a71f5f1
3a7a4c4 Merge branch 'main' into capi-number-tests skirpichev Nov 14, 2023 https://github.com/python/cpython/pull/111996/commits/3a7a4c408560dcad1499c3f911688c077276b4b9
788e9c2 Ternary ops (currently only pow/ipow) don't use __r*__ dunders skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/788e9c22ac83552e54f6a352f987338747195d1b
8cf4429 More tests skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/8cf4429accc9cc2016587ea84e0a6e98419cf960
91c68a7 Merge branch 'main' into capi-number-tests skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/91c68a7fd420282e0ec4fa3592eb23ed8e26b87b
9f6fd15 More tests skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/9f6fd152006f9d42b3b6702a6948a688de217620
9f5b7a1 Use BINARY_FUNC macro for some remaining ops skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/9f5b7a123e28e59fceb51f5623db535f620ab4aa
2675738 Add UNARY_FUNC macro to define unary PyNumber_* functions skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/2675738d7de884b30f44b919c8971d1814695149
2bc6bc7 Fix typo skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/2bc6bc75348fd86ba61f0824e8e198e8aebbf7bc
49d673b Make last argument optional for PyNumber_Power/InPlacePower skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/49d673babfb6f41d667d9d68101d564aec643ced
b2dda89 More tests skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/b2dda899ac0fead355769c447fadd9d0ab4076ff
b86d2eb Remove number_check() from _testcapi/abstract.c, move tests skirpichev Nov 15, 2023 https://github.com/python/cpython/pull/111996/commits/b86d2eb2f56e718dc5bb04c5fdcaf3088abd95fd
0fbbba9 address review: skirpichev Nov 16, 2023 https://github.com/python/cpython/pull/111996/commits/0fbbba9a9ed1212e73bf8dcbbcc8b1a1cd8ea70a
bcf0c20 Merge branch 'main' into capi-number-tests skirpichev Nov 16, 2023 https://github.com/python/cpython/pull/111996/commits/bcf0c2071f488fc94f96f6bd42f0314860ec50f4
9aae51b some cleanup for support classes skirpichev Nov 17, 2023 https://github.com/python/cpython/pull/111996/commits/9aae51b11aa772b6d5fbb04dcfbad98c2211707a
d052280 + cleanup skirpichev Nov 17, 2023 https://github.com/python/cpython/pull/111996/commits/d052280e1a734f82bd69886444617e39f48cf971
c04679c use instead generic tests for unary functions skirpichev Nov 18, 2023 https://github.com/python/cpython/pull/111996/commits/c04679c3b68c9957a0b1c2440c52838ac62a72c9
efe4aab +1 skirpichev Nov 18, 2023 https://github.com/python/cpython/pull/111996/commits/efe4aab18c18501060362e57ef49ec19d922543b
4d96d35 use instead generic tests for binary functions + misc tests skirpichev Nov 18, 2023 https://github.com/python/cpython/pull/111996/commits/4d96d35a09f786ee1d952540ae6b971ab2bee8d3
b00365e Merge branch 'main' into capi-number-tests skirpichev Dec 2, 2023 https://github.com/python/cpython/pull/111996/commits/b00365ef8d2419a039df91eb8d2ad068b779c381
74abc5d +1 skirpichev Dec 3, 2023 https://github.com/python/cpython/pull/111996/commits/74abc5d9980823f84d7d2ac06f6b5a7805698fdb
d62b802 Merge branch 'main' into capi-number-tests skirpichev Feb 21, 2024 https://github.com/python/cpython/pull/111996/commits/d62b80252f2cb0b59fe6c9d71d16447fdcc8a1e1
7ba5bb0 Merge branch 'master' into capi-number-tests skirpichev Mar 22, 2024 https://github.com/python/cpython/pull/111996/commits/7ba5bb0667ad32e3da55dcbbb4c24ab1b4c3e228
76aac6f Merge branch 'master' into capi-number-tests skirpichev Mar 23, 2024 https://github.com/python/cpython/pull/111996/commits/76aac6f5f0fa66bf48a1ea84570b88d9fc288c5c
de8f7f3 Include only basic tests for unary/binary ops (with builtin types) skirpichev Mar 26, 2024 https://github.com/python/cpython/pull/111996/commits/de8f7f316ec6bf8bdc3704f6e1916062fce2a09f
bd3435b Merge branch 'master' into capi-number-tests skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/bd3435bd8f95ae4f0ed4935af69f72453e554e92
ab08430 address review: sort imports skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/ab0843054d8e72ab6f42d1e95fbee592f19a3733
0bccf1c address review: split test_misc() skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/0bccf1c2610186ad1c2c5680c53bd5af8f5bc3e6
abde55b Update Lib/test/test_capi/test_number.py skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/abde55bc46fa93da7c5cda9a79b6ffb51718361a
f4be9c5 address review: use import_helper for _testbuffer skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/f4be9c5816d367c7aa8e67eb8edd6f4961803075
86df16c fix typo skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/86df16cc82a0014b9d08ea2c5b91726f858ed91b
c620c72 drop support classes with __trunc__ dunder skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/c620c720d1201a0138aaae80711d89fa880be8a6
556b23b address review: skip two test if no ndarray skirpichev Aug 9, 2024 https://github.com/python/cpython/pull/111996/commits/556b23bcc199f97803bb9ebcdcbeb601e83e35df
Clear filters https://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
test_abstract.py https://github.com/python/cpython/pull/111996/files#diff-671d403ebf880de19be4d32c34e35c3981662de686d73b128275628d88e32a94
test_number.py https://github.com/python/cpython/pull/111996/files#diff-6f79368fc5a35708b8b0e8aae0a0ba4f46176dadd4ad641d7dad4f7c3206a0f4
numbers.c https://github.com/python/cpython/pull/111996/files#diff-a27eced2b52b940bb7be51021d9c6ec9b7d5240432e398c16ab28f98e8aadc12
Lib/test/test_capi/test_abstract.pyhttps://github.com/python/cpython/pull/111996/files#diff-671d403ebf880de19be4d32c34e35c3981662de686d73b128275628d88e32a94
View file https://github.com/skirpichev/cpython/blob/556b23bcc199f97803bb9ebcdcbeb601e83e35df/Lib/test/test_capi/test_abstract.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/111996/{{ revealButtonHref }}
https://github.com/python/cpython/pull/111996/files#diff-671d403ebf880de19be4d32c34e35c3981662de686d73b128275628d88e32a94
https://github.com/python/cpython/pull/111996/files#diff-671d403ebf880de19be4d32c34e35c3981662de686d73b128275628d88e32a94
Lib/test/test_capi/test_number.pyhttps://github.com/python/cpython/pull/111996/files#diff-6f79368fc5a35708b8b0e8aae0a0ba4f46176dadd4ad641d7dad4f7c3206a0f4
View file https://github.com/skirpichev/cpython/blob/556b23bcc199f97803bb9ebcdcbeb601e83e35df/Lib/test/test_capi/test_number.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/111996/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
vstinnerhttps://github.com/vstinner
Aug 9, 2024https://github.com/python/cpython/pull/111996/files#r1711163473
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
skirpichevhttps://github.com/skirpichev
Aug 9, 2024https://github.com/python/cpython/pull/111996/files#r1711203777
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
Please reload this pagehttps://github.com/python/cpython/pull/111996/files
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.