René's URL Explorer Experiment


Title: fix metadata arglists for python defaults by jsavyasachi · Pull Request #285 · clj-python/libpython-clj · GitHub

Open Graph Title: fix metadata arglists for python defaults by jsavyasachi · Pull Request #285 · clj-python/libpython-clj

X Title: fix metadata arglists for python defaults by jsavyasachi · Pull Request #285 · clj-python/libpython-clj

Description: Fixes #284. Fixes #283. Changes Preserve values returned in argspec defaults when generating pyarglists. Stringify Python-object defaults, such as , instead of exposing pointer metadata. Add :arglists metadata for vars created by py/from-import, so Clojure doc output can render the signature before the docstring. Add regression coverage for positional defaults, keyword-only defaults, Python-object defaults, and rendered clojure.repl/doc output. Verification env PATH=/private/tmp/libpython-clj-x86-python-shim:$PATH clojure -M:test -n libpython-clj2.metadata-test env PATH=/private/tmp/libpython-clj-x86-python-shim:$PATH clojure -M:test -n libpython-clj2.python-test env PATH=/private/tmp/libpython-clj-x86-python-shim:$PATH clojure -M:test Note: the PATH shim was needed locally because Java is x86_64 while the default Homebrew Python is arm64.

Open Graph Description: Fixes #284. Fixes #283. Changes Preserve values returned in argspec defaults when generating pyarglists. Stringify Python-object defaults, such as <class 'int'>, instead of exposing ...

X Description: Fixes #284. Fixes #283. Changes Preserve values returned in argspec defaults when generating pyarglists. Stringify Python-object defaults, such as &lt;class &#39;int&#39;&gt;, inst...

Opengraph URL: https://github.com/clj-python/libpython-clj/pull/285

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:61314d59-6860-106b-1916-025ab27e6c8c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE808:2FDF33:21C88C6:30F81E9:6A60B73C
html-safe-noncec42c3a8cef0df9f64d6a6ec2f0801724bf6a10276643896ead92b707bf4557ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODA4OjJGREYzMzoyMUM4OEM2OjMwRjgxRTk6NkE2MEI3M0MiLCJ2aXNpdG9yX2lkIjoiNTkzMjAyODU3NTUzNzQ3NzQzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4e4089562d7aed50bdf4db07aba906a6abf5419667f2f98b3af331f7ba051014
hovercard-subject-tagpull_request:3827476945
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/clj-python/libpython-clj/pull/285/files
twitter:imagehttps://avatars.githubusercontent.com/u/25380661?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/25380661?s=400&v=4
og:image:altFixes #284. Fixes #283. Changes Preserve values returned in argspec defaults when generating pyarglists. Stringify Python-object defaults, such as <class 'int'>, instead of exposing ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebca6f23fd7d922d0dc2568325aed306d56389f16f6750e6dbd3b63cf2cdd06e9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/clj-python/libpython-clj git https://github.com/clj-python/libpython-clj.git
octolytics-dimension-user_id60827878
octolytics-dimension-user_loginclj-python
octolytics-dimension-repository_id187095617
octolytics-dimension-repository_nwoclj-python/libpython-clj
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id187095617
octolytics-dimension-repository_network_root_nwoclj-python/libpython-clj
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
release52cc0a08ad6a7ba327bf003424ad1b6c8d69f9c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/clj-python/libpython-clj/pull/285/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclj-python%2Flibpython-clj%2Fpull%2F285%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fclj-python%2Flibpython-clj%2Fpull%2F285%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=clj-python%2Flibpython-clj
Reloadhttps://github.com/clj-python/libpython-clj/pull/285/files
Reloadhttps://github.com/clj-python/libpython-clj/pull/285/files
Reloadhttps://github.com/clj-python/libpython-clj/pull/285/files
Please reload this pagehttps://github.com/clj-python/libpython-clj/pull/285/files
clj-python https://github.com/clj-python
libpython-cljhttps://github.com/clj-python/libpython-clj
Please reload this pagehttps://github.com/clj-python/libpython-clj/pull/285/files
Notifications https://github.com/login?return_to=%2Fclj-python%2Flibpython-clj
Fork 74 https://github.com/login?return_to=%2Fclj-python%2Flibpython-clj
Star 1.2k https://github.com/login?return_to=%2Fclj-python%2Flibpython-clj
Code https://github.com/clj-python/libpython-clj
Issues 33 https://github.com/clj-python/libpython-clj/issues
Pull requests 4 https://github.com/clj-python/libpython-clj/pulls
Actions https://github.com/clj-python/libpython-clj/actions
Projects https://github.com/clj-python/libpython-clj/projects
Security and quality 0 https://github.com/clj-python/libpython-clj/security
Insights https://github.com/clj-python/libpython-clj/pulse
Code https://github.com/clj-python/libpython-clj
Issues https://github.com/clj-python/libpython-clj/issues
Pull requests https://github.com/clj-python/libpython-clj/pulls
Actions https://github.com/clj-python/libpython-clj/actions
Projects https://github.com/clj-python/libpython-clj/projects
Security and quality https://github.com/clj-python/libpython-clj/security
Insights https://github.com/clj-python/libpython-clj/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fclj-python%2Flibpython-clj%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fclj-python%2Flibpython-clj%2Fissues%2Fnew%2Fchoose
cnuernberhttps://github.com/cnuernber
clj-python:masterhttps://github.com/clj-python/libpython-clj/tree/master
jsavyasachi:fix-pyarglists-defaultshttps://github.com/jsavyasachi/libpython-clj/tree/fix-pyarglists-defaults
Conversation 8 https://github.com/clj-python/libpython-clj/pull/285
Commits 4 https://github.com/clj-python/libpython-clj/pull/285/commits
Checks 45 https://github.com/clj-python/libpython-clj/pull/285/checks
Files changed 5 https://github.com/clj-python/libpython-clj/pull/285/files
fix metadata arglists for python defaults https://github.com/clj-python/libpython-clj/pull/285/files#top
Show all changes 4 commits https://github.com/clj-python/libpython-clj/pull/285/files
fbdf03f fix(metadata): preserve pyarglists defaults jsavyasachi Jun 8, 2026 https://github.com/clj-python/libpython-clj/pull/285/commits/fbdf03f4348daa556db77c86c8b7b5be000b0f96
5ef0171 fix(metadata): add python import arglists jsavyasachi Jun 8, 2026 https://github.com/clj-python/libpython-clj/pull/285/commits/5ef017182d123535ff323002c41ee56752024d80
3e66f7e test(metadata): cover python arglist docs jsavyasachi Jun 8, 2026 https://github.com/clj-python/libpython-clj/pull/285/commits/3e66f7e3e7ef7ed05af851a7488c5bbadcaa2a6f
0952848 fix(metadata): degrade gracefully on hostile default reprs jsavyasachi Jun 18, 2026 https://github.com/clj-python/libpython-clj/pull/285/commits/09528489cefb086d1dc4cf88f6bf29302dc38ed9
Clear filters https://github.com/clj-python/libpython-clj/pull/285/files
Please reload this pagehttps://github.com/clj-python/libpython-clj/pull/285/files
Please reload this pagehttps://github.com/clj-python/libpython-clj/pull/285/files
metadata.clj https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
python.clj https://github.com/clj-python/libpython-clj/pull/285/files#diff-678ad31a8948dfc52d682e9c1abcc89203391a7d392996a28cee59ffafeb0c32
metadata_test.clj https://github.com/clj-python/libpython-clj/pull/285/files#diff-191dc58c64c7bdcd8f613f0c7d4919680ac2dd9888bedebd848a65b9f06be666
python_test.clj https://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
__init__.py https://github.com/clj-python/libpython-clj/pull/285/files#diff-6eb0afe9d257a683980a006ef393b6bb117d20fc7e5ed6f7bc3f3193cd6e525a
src/libpython_clj2/metadata.cljhttps://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
View file https://github.com/jsavyasachi/libpython-clj/blob/09528489cefb086d1dc4cf88f6bf29302dc38ed9/src/libpython_clj2/metadata.clj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clj-python/libpython-clj/pull/285/{{ revealButtonHref }}
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
https://github.com/clj-python/libpython-clj/pull/285/files#diff-c9302c08086c9bac971a74c25cd7c2e211aaf7aeff4ae580f6be14bfa81cdec1
src/libpython_clj2/python.cljhttps://github.com/clj-python/libpython-clj/pull/285/files#diff-678ad31a8948dfc52d682e9c1abcc89203391a7d392996a28cee59ffafeb0c32
View file https://github.com/jsavyasachi/libpython-clj/blob/09528489cefb086d1dc4cf88f6bf29302dc38ed9/src/libpython_clj2/python.clj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clj-python/libpython-clj/pull/285/{{ revealButtonHref }}
https://github.com/clj-python/libpython-clj/pull/285/files#diff-678ad31a8948dfc52d682e9c1abcc89203391a7d392996a28cee59ffafeb0c32
https://github.com/clj-python/libpython-clj/pull/285/files#diff-678ad31a8948dfc52d682e9c1abcc89203391a7d392996a28cee59ffafeb0c32
https://github.com/clj-python/libpython-clj/pull/285/files#diff-678ad31a8948dfc52d682e9c1abcc89203391a7d392996a28cee59ffafeb0c32
test/libpython_clj2/metadata_test.cljhttps://github.com/clj-python/libpython-clj/pull/285/files#diff-191dc58c64c7bdcd8f613f0c7d4919680ac2dd9888bedebd848a65b9f06be666
View file https://github.com/jsavyasachi/libpython-clj/blob/09528489cefb086d1dc4cf88f6bf29302dc38ed9/test/libpython_clj2/metadata_test.clj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clj-python/libpython-clj/pull/285/{{ revealButtonHref }}
test/libpython_clj2/python_test.cljhttps://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
View file https://github.com/jsavyasachi/libpython-clj/blob/09528489cefb086d1dc4cf88f6bf29302dc38ed9/test/libpython_clj2/python_test.clj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clj-python/libpython-clj/pull/285/{{ revealButtonHref }}
https://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
https://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
https://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
https://github.com/clj-python/libpython-clj/pull/285/files#diff-63182357db2ee9573317a3bad6a03b902518aa4a9bd202e000d6ca89c193bd0b
testcode/__init__.pyhttps://github.com/clj-python/libpython-clj/pull/285/files#diff-6eb0afe9d257a683980a006ef393b6bb117d20fc7e5ed6f7bc3f3193cd6e525a
View file https://github.com/jsavyasachi/libpython-clj/blob/09528489cefb086d1dc4cf88f6bf29302dc38ed9/testcode/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/clj-python/libpython-clj/pull/285/{{ revealButtonHref }}
https://github.com/clj-python/libpython-clj/pull/285/files#diff-6eb0afe9d257a683980a006ef393b6bb117d20fc7e5ed6f7bc3f3193cd6e525a
https://github.com/clj-python/libpython-clj/pull/285/files#diff-6eb0afe9d257a683980a006ef393b6bb117d20fc7e5ed6f7bc3f3193cd6e525a
Please reload this pagehttps://github.com/clj-python/libpython-clj/pull/285/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.