René's URL Explorer Experiment


Title: gh-145980: Add support for alternative alphabets in the binascii module by serhiy-storchaka · Pull Request #145981 · python/cpython · GitHub

Open Graph Title: gh-145980: Add support for alternative alphabets in the binascii module by serhiy-storchaka · Pull Request #145981 · python/cpython

X Title: gh-145980: Add support for alternative alphabets in the binascii module by serhiy-storchaka · Pull Request #145981 · python/cpython

Description: Add the alphabet parameter in functions b2a_base64(), a2b_base64(), b2a_base85() and a2b_base85(). And a number of "*_ALPHABET" constants. Remove b2a_z85() and a2b_z85(). Issue: gh-145980 📚 Documentation preview 📚: https://cpython-previews--145981.org.readthedocs.build/

Open Graph Description: Add the alphabet parameter in functions b2a_base64(), a2b_base64(), b2a_base85() and a2b_base85(). And a number of "*_ALPHABET" constants. Remove b2a_z85() and a2b_z85(). Issue: gh-145...

X Description: Add the alphabet parameter in functions b2a_base64(), a2b_base64(), b2a_base85() and a2b_base85(). And a number of "*_ALPHABET" constants. Remove b2a_z85() and a2b_z85(). Issue...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:03fc4033-c01a-2ec9-70fd-984995cd9a7b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC268:71E1B:7D145B:A67206:6A51975C
html-safe-nonce50461a9c388522576c0db8f338acf89decafbe0b81e230e5585bc517c6ecc3a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjY4OjcxRTFCOjdEMTQ1QjpBNjcyMDY6NkE1MTk3NUMiLCJ2aXNpdG9yX2lkIjoiOTYyODE2NjU0NjE3NzEyNDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacad0aec61705222ef663a0fb8e7e43a7f9a507611c34c0c5898fa2a976bbb7b0e
hovercard-subject-tagpull_request:3401214593
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/145981/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altAdd the alphabet parameter in functions b2a_base64(), a2b_base64(), b2a_base85() and a2b_base85(). And a number of "*_ALPHABET" constants. Remove b2a_z85() and a2b_z85(). Issue: gh-145...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145981/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145981%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
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%2Fpython%2Fcpython%2Fpull%2F145981%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/145981/files
Reloadhttps://github.com/python/cpython/pull/145981/files
Reloadhttps://github.com/python/cpython/pull/145981/files
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality 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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:binascii-alphabethttps://github.com/serhiy-storchaka/cpython/tree/binascii-alphabet
Conversation 26 https://github.com/python/cpython/pull/145981
Commits 12 https://github.com/python/cpython/pull/145981/commits
Checks 48 https://github.com/python/cpython/pull/145981/checks
Files changed 11 https://github.com/python/cpython/pull/145981/files
gh-145980: Add support for alternative alphabets in the binascii module https://github.com/python/cpython/pull/145981/files#top
Show all changes 12 commits https://github.com/python/cpython/pull/145981/files
f47f4bd gh-145980: Add support for alternative alphabets in the binascii module serhiy-storchaka Mar 15, 2026 https://github.com/python/cpython/pull/145981/commits/f47f4bdb70f143e3a604b434fe28791e3e464d2a
ce5bcd2 Update documentation. serhiy-storchaka Mar 15, 2026 https://github.com/python/cpython/pull/145981/commits/ce5bcd2e3e0c50858f85829e270b63c35517b20c
f59fffe Update tests. serhiy-storchaka Mar 15, 2026 https://github.com/python/cpython/pull/145981/commits/f59fffe8e077dcdc616fe05a93f18647dfd79dd1
33437a5 Refactoring: inline static functions for Base85. serhiy-storchaka Mar 16, 2026 https://github.com/python/cpython/pull/145981/commits/33437a564fadab4ef06a3483854623d733b68122
044fa5a Merge branch 'main' into binascii-alphabet serhiy-storchaka Mar 16, 2026 https://github.com/python/cpython/pull/145981/commits/044fa5a0dfb2d79383e859c8030c47d1513b4466
3caf10d Regen global strings. serhiy-storchaka Mar 16, 2026 https://github.com/python/cpython/pull/145981/commits/3caf10d9c44dfee736dfc6fd6289c243634fd382
c27319a Fix Sphinx warnings. serhiy-storchaka Mar 16, 2026 https://github.com/python/cpython/pull/145981/commits/c27319a1bc4a93b75fbf372c854d166b6b992bcb
1abf3dd Merge branch 'main' into binascii-alphabet serhiy-storchaka Mar 16, 2026 https://github.com/python/cpython/pull/145981/commits/1abf3dd7f94a4173a39c44908ba41af4ff171c0a
4444158 Remove old tests. serhiy-storchaka Mar 17, 2026 https://github.com/python/cpython/pull/145981/commits/44441585f9e9979003aaccecbfd4b2ddc41270e0
133505d Remove less common alphabets. serhiy-storchaka Mar 17, 2026 https://github.com/python/cpython/pull/145981/commits/133505dcf74f398e4c9b2b0e1a7c3e25708b9821
f0f5960 Merge branch 'main' into binascii-alphabet serhiy-storchaka Mar 17, 2026 https://github.com/python/cpython/pull/145981/commits/f0f59606f83dda6a0e14fd35b5e20e03cfc73705
c609bbb Merge branch 'main' into binascii-alphabet serhiy-storchaka Mar 17, 2026 https://github.com/python/cpython/pull/145981/commits/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f
Clear filters https://github.com/python/cpython/pull/145981/files
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
binascii.rst https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
3.15.rst https://github.com/python/cpython/pull/145981/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
pycore_global_objects_fini_generated.h https://github.com/python/cpython/pull/145981/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2
pycore_global_strings.h https://github.com/python/cpython/pull/145981/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
pycore_runtime_init_generated.h https://github.com/python/cpython/pull/145981/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
pycore_unicodeobject_generated.h https://github.com/python/cpython/pull/145981/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6
base64.py https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
test_binascii.py https://github.com/python/cpython/pull/145981/files#diff-aeec59865b47d3778520e9e507ff5ee4c06d96434433669b1abc4d36d425bde5
2026-03-15-16-38-48.gh-issue-145980.mRze5H.rst https://github.com/python/cpython/pull/145981/files#diff-a5c739d6451488c347f5d9600f9c3b21259d4aafba29992bb13259746fa1fafa
binascii.c https://github.com/python/cpython/pull/145981/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c
binascii.c.h https://github.com/python/cpython/pull/145981/files#diff-e34d4c9e0ce6432d401a8778474cb8e8808d3fa11e8742e056df7d0c9f6fbeaf
Doc/library/binascii.rsthttps://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Doc/library/binascii.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145981/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
https://github.com/python/cpython/pull/145981/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/145981/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Doc/whatsnew/3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145981/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145981/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
https://github.com/python/cpython/pull/145981/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Include/internal/pycore_global_objects_fini_generated.hhttps://github.com/python/cpython/pull/145981/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Include/internal/pycore_global_objects_fini_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Include/internal/pycore_global_strings.hhttps://github.com/python/cpython/pull/145981/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Include/internal/pycore_global_strings.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145981/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145981/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/145981/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
Include/internal/pycore_runtime_init_generated.hhttps://github.com/python/cpython/pull/145981/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Include/internal/pycore_runtime_init_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Include/internal/pycore_unicodeobject_generated.hhttps://github.com/python/cpython/pull/145981/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Include/internal/pycore_unicodeobject_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Lib/base64.pyhttps://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
View file https://github.com/serhiy-storchaka/cpython/blob/c609bbba1ea1d57d7f9a0d5be87d947e95f00d5f/Lib/base64.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145981/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
https://github.com/python/cpython/pull/145981/files#diff-1d196d93fbeed5133b0bc9de7b58a2f5a0caee15e693ba605c7182d127e7f263
Please reload this pagehttps://github.com/python/cpython/pull/145981/files
Please reload this pagehttps://github.com/python/cpython/pull/145981/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.