| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:399f473f-0521-b7e3-6323-0cd6cea40ce9 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | A3F2:211F05:478CC1:5A79D5:6B021282 |
| html-safe-nonce | e2423c3a15abc0ac6123150b8126e149d3fa8c6a6ef8ecf48612afff9479ef23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0YyOjIxMUYwNTo0NzhDQzE6NUE3OUQ1OjZCMDIxMjgyIiwidmlzaXRvcl9pZCI6IjMzMzk3MTQyNDU1NzgzMzA3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2b797b26742dc38d14846b5bcc8f7e0e32443a7cc41718ef3655f6c664507fb3 |
| hovercard-subject-tag | repository:1447790285 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c |
| twitter:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| og:image:alt | The Python programming language. Contribute to sidlovescoding/Cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/sidlovescoding/Cpython git https://github.com/sidlovescoding/Cpython.git |
| octolytics-dimension-user_id | 207958570 |
| octolytics-dimension-user_login | sidlovescoding |
| octolytics-dimension-repository_id | 1447790285 |
| octolytics-dimension-repository_nwo | sidlovescoding/Cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 81598961 |
| octolytics-dimension-repository_parent_nwo | python/cpython |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fmain%2FObjects%2Fbytesobject.c |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fmain%2FObjects%2Fbytesobject.c |
| 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%2Fcommits%2Fshow&source=header-repo&source_repo=sidlovescoding%2FCpython |
| Reload | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c |
| Reload | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c |
| Reload | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c |
| sidlovescoding | https://github.com/sidlovescoding |
| Cpython | https://github.com/sidlovescoding/Cpython |
| Code | https://github.com/sidlovescoding/Cpython |
| Pull requests1 (1) | https://github.com/sidlovescoding/Cpython/pulls |
| Actions | https://github.com/sidlovescoding/Cpython/actions |
| Projects | https://github.com/sidlovescoding/Cpython/projects |
| Security and quality | https://github.com/sidlovescoding/Cpython/security |
| Insights | https://github.com/sidlovescoding/Cpython/pulse |
| https://github.com/sidlovescoding/Cpython |
| Cpython | https://github.com/sidlovescoding/Cpython/commits |
| Objects | https://github.com/sidlovescoding/Cpython/commits/main/Objects |
| bytesobject.c | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c |
| main | https://github.com/sidlovescoding/Cpython/tree/main |
| gh-159739: Reject the minimum dynamic formatting width (#159780) | https://github.com/sidlovescoding/Cpython/commit/95f94d04d8772f926b6a9bc1e38b67218a1dba7a |
| jelle-openai | https://github.com/sidlovescoding/Cpython/commits?author=jelle-openai |
| JelleZijlstra | https://github.com/sidlovescoding/Cpython/commits?author=JelleZijlstra |
| 95f94d0 | https://github.com/sidlovescoding/Cpython/commit/95f94d04d8772f926b6a9bc1e38b67218a1dba7a |
| https://github.com/sidlovescoding/Cpython/blob/95f94d04d8772f926b6a9bc1e38b67218a1dba7a/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/95f94d04d8772f926b6a9bc1e38b67218a1dba7a |
| gh-87613: Use AC vectorcall for bytes and bytearray (#158891) | https://github.com/sidlovescoding/Cpython/commit/6576fb46db1ac2c1280c852df637a66c3e5aada7 |
| cmaloney | https://github.com/sidlovescoding/Cpython/commits?author=cmaloney |
| claude | https://github.com/sidlovescoding/Cpython/commits?author=claude |
| 6576fb4 | https://github.com/sidlovescoding/Cpython/commit/6576fb46db1ac2c1280c852df637a66c3e5aada7 |
| https://github.com/sidlovescoding/Cpython/blob/6576fb46db1ac2c1280c852df637a66c3e5aada7/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/6576fb46db1ac2c1280c852df637a66c3e5aada7 |
| gh-159430: Add _PyObject_LookupSpecial error checks in bytes/weakref (GH-159432) | https://github.com/sidlovescoding/Cpython/commit/3646ea571f3d8290806a3029d555b179f8be1539 |
| https://github.com/msullivan |
| msullivan | https://github.com/sidlovescoding/Cpython/commits?author=msullivan |
| 3646ea5 | https://github.com/sidlovescoding/Cpython/commit/3646ea571f3d8290806a3029d555b179f8be1539 |
| https://github.com/sidlovescoding/Cpython/blob/3646ea571f3d8290806a3029d555b179f8be1539/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/3646ea571f3d8290806a3029d555b179f8be1539 |
| gh-158585: Adjust _PyBytes_FormatEx() allocation (#158823) | https://github.com/sidlovescoding/Cpython/commit/182f3231542e84fd1b0c795898f69f61fe35df0e |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 182f323 | https://github.com/sidlovescoding/Cpython/commit/182f3231542e84fd1b0c795898f69f61fe35df0e |
| https://github.com/sidlovescoding/Cpython/blob/182f3231542e84fd1b0c795898f69f61fe35df0e/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/182f3231542e84fd1b0c795898f69f61fe35df0e |
| gh-158585: Simplify PyBytesWriter_Finish() (#158822) | https://github.com/sidlovescoding/Cpython/commit/30ce3d462dc97c8f351964e872c418abacaaabfd |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 30ce3d4 | https://github.com/sidlovescoding/Cpython/commit/30ce3d462dc97c8f351964e872c418abacaaabfd |
| https://github.com/sidlovescoding/Cpython/blob/30ce3d462dc97c8f351964e872c418abacaaabfd/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/30ce3d462dc97c8f351964e872c418abacaaabfd |
| gh-158585: Optimize bytes object creation (#158664) | https://github.com/sidlovescoding/Cpython/commit/8dba03970833d67b5b97dc98e1be8423f9f1d908 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 8dba039 | https://github.com/sidlovescoding/Cpython/commit/8dba03970833d67b5b97dc98e1be8423f9f1d908 |
| https://github.com/sidlovescoding/Cpython/blob/8dba03970833d67b5b97dc98e1be8423f9f1d908/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/8dba03970833d67b5b97dc98e1be8423f9f1d908 |
| gh-158583: Fix uninitialized memory read in bytes.fromhex() (#158584) | https://github.com/sidlovescoding/Cpython/commit/9d22a5334bd5273962adceeb697a1337e9a0ca21 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 9d22a53 | https://github.com/sidlovescoding/Cpython/commit/9d22a5334bd5273962adceeb697a1337e9a0ca21 |
| https://github.com/sidlovescoding/Cpython/blob/9d22a5334bd5273962adceeb697a1337e9a0ca21/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/9d22a5334bd5273962adceeb697a1337e9a0ca21 |
| gh-158585: Fix _PyBytes_Resize() if hash value is already computed (#158589) | https://github.com/sidlovescoding/Cpython/commit/6e7738bb5e6a294d888f8af6f409f52508194249 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 6e7738b | https://github.com/sidlovescoding/Cpython/commit/6e7738bb5e6a294d888f8af6f409f52508194249 |
| https://github.com/sidlovescoding/Cpython/blob/6e7738bb5e6a294d888f8af6f409f52508194249/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/6e7738bb5e6a294d888f8af6f409f52508194249 |
| gh-158585: Adjust allocation in bytes_fromformat() (#158621) | https://github.com/sidlovescoding/Cpython/commit/1a85213940896f180cbcf76921cd2d35a8aa50de |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 1a85213 | https://github.com/sidlovescoding/Cpython/commit/1a85213940896f180cbcf76921cd2d35a8aa50de |
| https://github.com/sidlovescoding/Cpython/blob/1a85213940896f180cbcf76921cd2d35a8aa50de/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/1a85213940896f180cbcf76921cd2d35a8aa50de |
| gh-158585: Optimize PyBytesWriter_FinishWithSize() (#158586) | https://github.com/sidlovescoding/Cpython/commit/ee782e6143b3fda2e7feb1216ff23860ad39b234 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| ee782e6 | https://github.com/sidlovescoding/Cpython/commit/ee782e6143b3fda2e7feb1216ff23860ad39b234 |
| https://github.com/sidlovescoding/Cpython/blob/ee782e6143b3fda2e7feb1216ff23860ad39b234/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/ee782e6143b3fda2e7feb1216ff23860ad39b234 |
| gh-156939: Fix two bugs in PyBytesWriter (#158404) | https://github.com/sidlovescoding/Cpython/commit/24ea85a4c2998b36cc4c83ff0505678d178b49d1 |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| claude | https://github.com/sidlovescoding/Cpython/commits?author=claude |
| 24ea85a | https://github.com/sidlovescoding/Cpython/commit/24ea85a4c2998b36cc4c83ff0505678d178b49d1 |
| https://github.com/sidlovescoding/Cpython/blob/24ea85a4c2998b36cc4c83ff0505678d178b49d1/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/24ea85a4c2998b36cc4c83ff0505678d178b49d1 |
| gh-158334: Fix bytes.translate() when the input is returned unchanged (#158344) | https://github.com/sidlovescoding/Cpython/commit/b4be3a5804cbbecb9e1d2984241b455bf15065a8 |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| fedonman | https://github.com/sidlovescoding/Cpython/commits?author=fedonman |
| b4be3a5 | https://github.com/sidlovescoding/Cpython/commit/b4be3a5804cbbecb9e1d2984241b455bf15065a8 |
| https://github.com/sidlovescoding/Cpython/blob/b4be3a5804cbbecb9e1d2984241b455bf15065a8/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/b4be3a5804cbbecb9e1d2984241b455bf15065a8 |
| gh-158219: Fix bytearray constructor to not use hashed object (#158329) | https://github.com/sidlovescoding/Cpython/commit/969af80daf09fcd2ce8f358e5f9d54e75f8ef330 |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| cmaloney | https://github.com/sidlovescoding/Cpython/commits?author=cmaloney |
| 969af80 | https://github.com/sidlovescoding/Cpython/commit/969af80daf09fcd2ce8f358e5f9d54e75f8ef330 |
| https://github.com/sidlovescoding/Cpython/blob/969af80daf09fcd2ce8f358e5f9d54e75f8ef330/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/969af80daf09fcd2ce8f358e5f9d54e75f8ef330 |
| gh-157710: Avoid resize in PyUnicodeWriter_Finish() for singleton (#157862) | https://github.com/sidlovescoding/Cpython/commit/a64b7ecba4db5480504a1a83ae6e80c81472fe16 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| a64b7ec | https://github.com/sidlovescoding/Cpython/commit/a64b7ecba4db5480504a1a83ae6e80c81472fe16 |
| https://github.com/sidlovescoding/Cpython/blob/a64b7ecba4db5480504a1a83ae6e80c81472fe16/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/a64b7ecba4db5480504a1a83ae6e80c81472fe16 |
| gh-157242: Add byteswriter_check_consistency() (#157723) | https://github.com/sidlovescoding/Cpython/commit/e2ff498cc03886b73fca0429ee745b04646ad8e0 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| e2ff498 | https://github.com/sidlovescoding/Cpython/commit/e2ff498cc03886b73fca0429ee745b04646ad8e0 |
| https://github.com/sidlovescoding/Cpython/blob/e2ff498cc03886b73fca0429ee745b04646ad8e0/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/e2ff498cc03886b73fca0429ee745b04646ad8e0 |
| gh-156939: Clear newly allocated bytes in PyBytesWriter_Resize() (#157455) | https://github.com/sidlovescoding/Cpython/commit/3b1057d4b5b2dfa57f6dbd868ffe7f787e0a82c9 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 3b1057d | https://github.com/sidlovescoding/Cpython/commit/3b1057d4b5b2dfa57f6dbd868ffe7f787e0a82c9 |
| https://github.com/sidlovescoding/Cpython/blob/3b1057d4b5b2dfa57f6dbd868ffe7f787e0a82c9/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/3b1057d4b5b2dfa57f6dbd868ffe7f787e0a82c9 |
| gh-156939: Detect buffer overflow in bytes and bytearray (#157529) | https://github.com/sidlovescoding/Cpython/commit/2d1007f931963ef907460ddaa110bac4e635eebd |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 2d1007f | https://github.com/sidlovescoding/Cpython/commit/2d1007f931963ef907460ddaa110bac4e635eebd |
| https://github.com/sidlovescoding/Cpython/blob/2d1007f931963ef907460ddaa110bac4e635eebd/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/2d1007f931963ef907460ddaa110bac4e635eebd |
| gh-156939: Detect PyBytesWriter buffer overflow earlier (#157385) | https://github.com/sidlovescoding/Cpython/commit/58cdff72de89d92c27c53146bf51cb8ad2558b02 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 58cdff7 | https://github.com/sidlovescoding/Cpython/commit/58cdff72de89d92c27c53146bf51cb8ad2558b02 |
| https://github.com/sidlovescoding/Cpython/blob/58cdff72de89d92c27c53146bf51cb8ad2558b02/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/58cdff72de89d92c27c53146bf51cb8ad2558b02 |
| gh-156939: Detect buffer overflow in PyBytesWriter in debug mode (#156943) | https://github.com/sidlovescoding/Cpython/commit/12a1de1a4e22732700cf7d8fd75ebff4b6e0513d |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 12a1de1 | https://github.com/sidlovescoding/Cpython/commit/12a1de1a4e22732700cf7d8fd75ebff4b6e0513d |
| https://github.com/sidlovescoding/Cpython/blob/12a1de1a4e22732700cf7d8fd75ebff4b6e0513d/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/12a1de1a4e22732700cf7d8fd75ebff4b6e0513d |
| gh-157242: Add _PyBytes_IsMutable() assertion (#157371) | https://github.com/sidlovescoding/Cpython/commit/121e27c484539faaf24e6b264846217a8f4b9738 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 121e27c | https://github.com/sidlovescoding/Cpython/commit/121e27c484539faaf24e6b264846217a8f4b9738 |
| https://github.com/sidlovescoding/Cpython/blob/121e27c484539faaf24e6b264846217a8f4b9738/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/121e27c484539faaf24e6b264846217a8f4b9738 |
| gh-157242: Allow negative grow in PyBytesWriter_Grow() (#157375) | https://github.com/sidlovescoding/Cpython/commit/bab97c599f7c66b6b7b718a1c03a4bf4520b504c |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| bab97c5 | https://github.com/sidlovescoding/Cpython/commit/bab97c599f7c66b6b7b718a1c03a4bf4520b504c |
| https://github.com/sidlovescoding/Cpython/blob/bab97c599f7c66b6b7b718a1c03a4bf4520b504c/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/bab97c599f7c66b6b7b718a1c03a4bf4520b504c |
| gh-155742: Use PyBytesWriter in bytes.translate() (#157346) | https://github.com/sidlovescoding/Cpython/commit/575fe3914f466e684f13aed1cdd68347f8746944 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 575fe39 | https://github.com/sidlovescoding/Cpython/commit/575fe3914f466e684f13aed1cdd68347f8746944 |
| https://github.com/sidlovescoding/Cpython/blob/575fe3914f466e684f13aed1cdd68347f8746944/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/575fe3914f466e684f13aed1cdd68347f8746944 |
| gh-157242: Add more PyBytesWriter tests (#157352) | https://github.com/sidlovescoding/Cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 63d4398 | https://github.com/sidlovescoding/Cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c |
| https://github.com/sidlovescoding/Cpython/blob/63d4398be879e346ef68f899115f86cdb9fa555c/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/63d4398be879e346ef68f899115f86cdb9fa555c |
| gh-128213: fast path for bytes creation from list and tuple (#132590) | https://github.com/sidlovescoding/Cpython/commit/47029802a6feb532461dc9a0907d6123fe04429b |
| 4702980 | https://github.com/sidlovescoding/Cpython/commit/47029802a6feb532461dc9a0907d6123fe04429b |
| https://github.com/sidlovescoding/Cpython/blob/47029802a6feb532461dc9a0907d6123fe04429b/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/47029802a6feb532461dc9a0907d6123fe04429b |
| gh-157242: Fix PyBytesWriter_Resize() on MemoryError (#157243) | https://github.com/sidlovescoding/Cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| maurycy | https://github.com/sidlovescoding/Cpython/commits?author=maurycy |
| f5dd52d | https://github.com/sidlovescoding/Cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| https://github.com/sidlovescoding/Cpython/blob/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| gh-156995: Fix `bytearray.take_bytes()` corrupting shared single-byte singletons (#156996) | https://github.com/sidlovescoding/Cpython/commit/fd569ea94120815b01baf8bcbcf21e8e09102db6 |
| fd569ea | https://github.com/sidlovescoding/Cpython/commit/fd569ea94120815b01baf8bcbcf21e8e09102db6 |
| https://github.com/sidlovescoding/Cpython/blob/fd569ea94120815b01baf8bcbcf21e8e09102db6/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/fd569ea94120815b01baf8bcbcf21e8e09102db6 |
| gh-129813: Check size in PyBytesWriter_FinishWithSize() (#157226) | https://github.com/sidlovescoding/Cpython/commit/4e530b82f37ec89e3b54bc5d0a1612c643bff1e0 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 4e530b8 | https://github.com/sidlovescoding/Cpython/commit/4e530b82f37ec89e3b54bc5d0a1612c643bff1e0 |
| https://github.com/sidlovescoding/Cpython/blob/4e530b82f37ec89e3b54bc5d0a1612c643bff1e0/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/4e530b82f37ec89e3b54bc5d0a1612c643bff1e0 |
| gh-129813: Fix typo in byteswriter_resize() (#156938) | https://github.com/sidlovescoding/Cpython/commit/5141621d44e8ee88d97a5b8b225c8a32e7a343f0 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 5141621 | https://github.com/sidlovescoding/Cpython/commit/5141621d44e8ee88d97a5b8b225c8a32e7a343f0 |
| https://github.com/sidlovescoding/Cpython/blob/5141621d44e8ee88d97a5b8b225c8a32e7a343f0/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/5141621d44e8ee88d97a5b8b225c8a32e7a343f0 |
| gh-155742: Get singleton in PyBytesWriter_FinishWithSize() (#155795) | https://github.com/sidlovescoding/Cpython/commit/5ef7fa169fecf37031e4fe31b9c52ab048c9c2e5 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 5ef7fa1 | https://github.com/sidlovescoding/Cpython/commit/5ef7fa169fecf37031e4fe31b9c52ab048c9c2e5 |
| https://github.com/sidlovescoding/Cpython/blob/5ef7fa169fecf37031e4fe31b9c52ab048c9c2e5/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/5ef7fa169fecf37031e4fe31b9c52ab048c9c2e5 |
| gh-153419: Fix several issues around bytearray __init__ (#153498) | https://github.com/sidlovescoding/Cpython/commit/d5c1b29658063d1ef9d66515d8e4cb9929126be7 |
| stestagg | https://github.com/sidlovescoding/Cpython/commits?author=stestagg |
| cmaloney | https://github.com/sidlovescoding/Cpython/commits?author=cmaloney |
| d5c1b29 | https://github.com/sidlovescoding/Cpython/commit/d5c1b29658063d1ef9d66515d8e4cb9929126be7 |
| https://github.com/sidlovescoding/Cpython/blob/d5c1b29658063d1ef9d66515d8e4cb9929126be7/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/d5c1b29658063d1ef9d66515d8e4cb9929126be7 |
| gh-150285: Fix too long docstrings in builtins (GH-150293) | https://github.com/sidlovescoding/Cpython/commit/e1e06be11908ddb6935e8df35f972879dd1bc3d8 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/sidlovescoding/Cpython/commits?author=serhiy-storchaka |
| e1e06be | https://github.com/sidlovescoding/Cpython/commit/e1e06be11908ddb6935e8df35f972879dd1bc3d8 |
| https://github.com/sidlovescoding/Cpython/blob/e1e06be11908ddb6935e8df35f972879dd1bc3d8/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/e1e06be11908ddb6935e8df35f972879dd1bc3d8 |
| gh-149816: Fix a race condition in `_PyBytes_FromList` with free-threading (#149909) | https://github.com/sidlovescoding/Cpython/commit/46afba7b9324bc9492c3527d0fe47dd74f1f598c |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 46afba7 | https://github.com/sidlovescoding/Cpython/commit/46afba7b9324bc9492c3527d0fe47dd74f1f598c |
| https://github.com/sidlovescoding/Cpython/blob/46afba7b9324bc9492c3527d0fe47dd74f1f598c/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/46afba7b9324bc9492c3527d0fe47dd74f1f598c |
| gh-100239: expose `sq_repeat` helpers for `BINARY_OP_EXTEND` (#148791) | https://github.com/sidlovescoding/Cpython/commit/d2d24e46d31821fb2f0f4368fa27057e9859a918 |
| https://github.com/NekoAsakura |
| NekoAsakura | https://github.com/sidlovescoding/Cpython/commits?author=NekoAsakura |
| d2d24e4 | https://github.com/sidlovescoding/Cpython/commit/d2d24e46d31821fb2f0f4368fa27057e9859a918 |
| https://github.com/sidlovescoding/Cpython/blob/d2d24e46d31821fb2f0f4368fa27057e9859a918/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/d2d24e46d31821fb2f0f4368fa27057e9859a918 |
| GH-145668: Add FOR_ITER specialization for virtual iterators. Specialize GET_ITER. (GH-147967) | https://github.com/sidlovescoding/Cpython/commit/600f4dbd54bb35f56ecf1430134d2072b0520aa3 |
| https://github.com/markshannon |
| markshannon | https://github.com/sidlovescoding/Cpython/commits?author=markshannon |
| 600f4db | https://github.com/sidlovescoding/Cpython/commit/600f4dbd54bb35f56ecf1430134d2072b0520aa3 |
| https://github.com/sidlovescoding/Cpython/blob/600f4dbd54bb35f56ecf1430134d2072b0520aa3/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/600f4dbd54bb35f56ecf1430134d2072b0520aa3 |
| gh-100239: Specialize more binary operations using BINARY_OP_EXTEND (GH-128956) | https://github.com/sidlovescoding/Cpython/commit/1f6a09fb3672f7e7a263bb77f09d5f517f5edb98 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/sidlovescoding/Cpython/commits?author=eendebakpt |
| 1f6a09f | https://github.com/sidlovescoding/Cpython/commit/1f6a09fb3672f7e7a263bb77f09d5f517f5edb98 |
| https://github.com/sidlovescoding/Cpython/blob/1f6a09fb3672f7e7a263bb77f09d5f517f5edb98/Objects/bytesobject.c |
| https://github.com/sidlovescoding/Cpython/tree/1f6a09fb3672f7e7a263bb77f09d5f517f5edb98 |
| Next | https://github.com/sidlovescoding/Cpython/commits/main/Objects/bytesobject.c?after=d7465429a2becbdf08561585b2acebc9de2ebf2d+34 |
|
| 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 |