| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9fba84a7-c17e-c932-9f47-d621256ae6d8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A2E:96FA2:A5EDC5:E2CE21:6969E62A |
| html-safe-nonce | 3ebf5a620508b7136200055d906a46e456812d35187ca50c8efd86bf60e46d70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTJFOjk2RkEyOkE1RURDNTpFMkNFMjE6Njk2OUU2MkEiLCJ2aXNpdG9yX2lkIjoiNDIzODc5Mzc0NjkyMTY3ODM3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d83677ec1785527bb5124a50f4c344760f29842bf045c88a6134dfced66e0494 |
| hovercard-subject-tag | pull_request:564702859 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/24402/files |
| twitter:image | https://avatars.githubusercontent.com/u/19193227?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19193227?s=400&v=4 |
| og:image:alt | Currently, when providing binascii.a2b_base64() base-64 input with excess data after the padding (=/==), the excess data is ignored.
Example:
import binascii
binascii.a2b_base64(b'aGVsbG8='... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/24402/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24402%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F24402%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 |
| Reload | https://github.com/python/cpython/pull/24402/files |
| Reload | https://github.com/python/cpython/pull/24402/files |
| Reload | https://github.com/python/cpython/pull/24402/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/24402/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 page | https://github.com/python/cpython/pull/24402/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gpshead | https://github.com/gpshead |
| python:main | https://github.com/python/cpython/tree/main |
| idan22moral:master | https://github.com/idan22moral/cpython/tree/master |
|
Conversation
27
| https://github.com/python/cpython/pull/24402 |
|
Commits
26
| https://github.com/python/cpython/pull/24402/commits |
|
Checks
0
| https://github.com/python/cpython/pull/24402/checks |
|
Files changed
| https://github.com/python/cpython/pull/24402/files |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
|
bpo-43086: Added handling for excess data in binascii.a2b_base64
| https://github.com/python/cpython/pull/24402/files#top |
|
Show all changes
26 commits
| https://github.com/python/cpython/pull/24402/files |
|
52d83e9
Added handling for excess data in binascii.a2b_base64
idan22moral Jan 31, 2021
| https://github.com/python/cpython/pull/24402/commits/52d83e9fa67b7b4cd246f34ecac9689b8cdf266d |
|
557bce8
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 31, 2021
| https://github.com/python/cpython/pull/24402/commits/557bce8b6bad1387e8f6fc886f9e8fa42c3031bb |
|
6ed5193
Added if-state guard
idan22moral Mar 13, 2021
| https://github.com/python/cpython/pull/24402/commits/6ed5193a3d302e1200cf729bf5eb88d195c3cd72 |
|
4ee90f5
Merge branch 'master' of https://github.com/idan22moral/cpython
idan22moral Mar 30, 2021
| https://github.com/python/cpython/pull/24402/commits/4ee90f5b89bfd1cc256990a28e4fe83b43de7183 |
|
c7b723f
Implemented the strict mode logic
idan22moral Mar 30, 2021
| https://github.com/python/cpython/pull/24402/commits/c7b723f4c776be794d3e7626fad62694434e3bb5 |
|
93f497a
Merge branch 'master' of https://github.com/python/cpython
idan22moral Mar 30, 2021
| https://github.com/python/cpython/pull/24402/commits/93f497aa218675861df8e3165fcad17a032997aa |
|
f6283d9
Trying to fix the "Check if generated files are up to date" failure
idan22moral Apr 7, 2021
| https://github.com/python/cpython/pull/24402/commits/f6283d9787f763ee925c9a97e0731d345379be40 |
|
cedbb85
Generated function signatures using clinic
idan22moral Apr 7, 2021
| https://github.com/python/cpython/pull/24402/commits/cedbb856cb14e13fe5bfc7581fcb49653e071869 |
|
69c96d5
Handle data in the middle of the padding in strict mode
idan22moral Apr 12, 2021
| https://github.com/python/cpython/pull/24402/commits/69c96d54e4c1a4992f00cbb0a8f895292b158296 |
|
3718ebd
Added a test for strict mode
idan22moral Apr 12, 2021
| https://github.com/python/cpython/pull/24402/commits/3718ebd1c0ee0a8ec4b38f8884ea7a04290670a4 |
|
d0b60e2
Added a test for invalid data as the first character
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/d0b60e23dd5edaf2efa7a1b10192783381529dd2 |
|
afb95db
Disallowed leading padding in strict mode
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/afb95dba830961aceda9070d69eb727405fbdd8d |
|
3c5758b
Added tests for padding-only input
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/3c5758b63211d2a8a037db018f0632674b179365 |
|
5f8df5b
Added tests to validate the default behavior.
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/5f8df5b7768e62919db79e772de027be5206b093 |
|
644dbaf
Described the changed of this pull request
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/644dbaf5871237da50aa08444e60a6a9b119dce9 |
|
464484c
Modified syntax of RST
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/464484cd1e51d7db33a8235dbd3e5fe81fbad0fb |
|
e1ccf8a
Updated the docs to explain the strict_mode parameter
idan22moral Jul 10, 2021
| https://github.com/python/cpython/pull/24402/commits/e1ccf8aed107746bf52c21f3cf632760dd183ce2 |
|
d6a5cbf
Moved declaration of state to the beginning to prevent multiple decla…
idan22moral Jul 16, 2021
| https://github.com/python/cpython/pull/24402/commits/d6a5cbfbc688711f6f53596e1722865455eb7957 |
|
5abc68f
Merge branch 'main' into master
idan22moral Jul 16, 2021
| https://github.com/python/cpython/pull/24402/commits/5abc68ff528e8b3f4f31cf40bf14c1bb4628b659 |
|
08aa26c
Corrected the RST syntax for argument in docs (italic)
idan22moral Jul 16, 2021
| https://github.com/python/cpython/pull/24402/commits/08aa26c3435cbc9f599eab7e5d6a87b717294dbd |
|
2f1990e
Corrected the RST syntax for argument in news (italic)
idan22moral Jul 16, 2021
| https://github.com/python/cpython/pull/24402/commits/2f1990e1e3bc4fcc024ae1fd982221da813b42e9 |
|
fa959bd
Removed whitespace that lead to build failure
idan22moral Jul 16, 2021
| https://github.com/python/cpython/pull/24402/commits/fa959bd54f692807a6268f20403b4f56119bf302 |
|
a60a8c6
use self.assertEqual instead of assert ==
gpshead Jul 18, 2021
| https://github.com/python/cpython/pull/24402/commits/a60a8c6ec438763b8403d80fb7130276b649e769 |
|
0307272
remove leadg `| ` characters in NEWS
gpshead Jul 18, 2021
| https://github.com/python/cpython/pull/24402/commits/03072726fe040ec0057d5d3ac0b995cc58918e35 |
|
d26e1eb
Simplify the error messages.
gpshead Jul 18, 2021
| https://github.com/python/cpython/pull/24402/commits/d26e1ebc086f50f8bc9f2d1ae85600d8279ca9b1 |
|
652e7f4
update test for error message (Leading vs Malformed)
gpshead Jul 18, 2021
| https://github.com/python/cpython/pull/24402/commits/652e7f4e6395947c0e558647a7c46c927f544a7f |
|
Clear filters
| https://github.com/python/cpython/pull/24402/files |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
|
binascii.rst
| https://github.com/python/cpython/pull/24402/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f |
|
test_binascii.py
| https://github.com/python/cpython/pull/24402/files#diff-aeec59865b47d3778520e9e507ff5ee4c06d96434433669b1abc4d36d425bde5 |
|
2021-01-31-18-24-54.bpo-43086.2_P-SH.rst
| https://github.com/python/cpython/pull/24402/files#diff-c1ff7111d7774dabf568d4642343d9d8766eaf82628bc7c7d1564f166e766dc5 |
|
binascii.c
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
binascii.c.h
| https://github.com/python/cpython/pull/24402/files#diff-e34d4c9e0ce6432d401a8778474cb8e8808d3fa11e8742e056df7d0c9f6fbeaf |
| Doc/library/binascii.rst | https://github.com/python/cpython/pull/24402/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f |
|
View file
| https://github.com/idan22moral/cpython/blob/652e7f4e6395947c0e558647a7c46c927f544a7f/Doc/library/binascii.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/24402/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/24402/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f |
|
| https://github.com/python/cpython/pull/24402/files#diff-d8ff111ba7edab3404f42600a80f1a78c62dedaef5783cd5fa59d9dce0ba232f |
| Lib/test/test_binascii.py | https://github.com/python/cpython/pull/24402/files#diff-aeec59865b47d3778520e9e507ff5ee4c06d96434433669b1abc4d36d425bde5 |
|
View file
| https://github.com/idan22moral/cpython/blob/652e7f4e6395947c0e558647a7c46c927f544a7f/Lib/test/test_binascii.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/24402/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/24402/files#diff-aeec59865b47d3778520e9e507ff5ee4c06d96434433669b1abc4d36d425bde5 |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
|
| https://github.com/python/cpython/pull/24402/files#diff-aeec59865b47d3778520e9e507ff5ee4c06d96434433669b1abc4d36d425bde5 |
| Misc/NEWS.d/next/Library/2021-01-31-18-24-54.bpo-43086.2_P-SH.rst | https://github.com/python/cpython/pull/24402/files#diff-c1ff7111d7774dabf568d4642343d9d8766eaf82628bc7c7d1564f166e766dc5 |
|
View file
| https://github.com/idan22moral/cpython/blob/652e7f4e6395947c0e558647a7c46c927f544a7f/Misc/NEWS.d/next/Library/2021-01-31-18-24-54.bpo-43086.2_P-SH.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/24402/{{ revealButtonHref }} |
| Modules/binascii.c | https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
View file
| https://github.com/idan22moral/cpython/blob/652e7f4e6395947c0e558647a7c46c927f544a7f/Modules/binascii.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/24402/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/24402/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
| Modules/clinic/binascii.c.h | https://github.com/python/cpython/pull/24402/files#diff-e34d4c9e0ce6432d401a8778474cb8e8808d3fa11e8742e056df7d0c9f6fbeaf |
|
View file
| https://github.com/idan22moral/cpython/blob/652e7f4e6395947c0e558647a7c46c927f544a7f/Modules/clinic/binascii.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/24402/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |