Title: gh-152228: Fix an assertion failure in `str.replace` under a limited memory case by sobolevn · Pull Request #152229 · python/cpython · GitHub
Open Graph Title: gh-152228: Fix an assertion failure in `str.replace` under a limited memory case by sobolevn · Pull Request #152229 · python/cpython
X Title: gh-152228: Fix an assertion failure in `str.replace` under a limited memory case by sobolevn · Pull Request #152229 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Because test was simple enough and was always 0 as the memory limit, I decided to include it. Issue: str.replace can crash under memory pressure #152228
X Description: Because test was simple enough and was always 0 as the memory limit, I decided to include it. Issue: str.replace can crash under memory pressure #152228
Opengraph URL: https://github.com/python/cpython/pull/152229
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:278ae10c-cfea-5877-1cdc-459a0e88cc9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A736:1DF822:7273B:94E11:6A532601 |
| html-safe-nonce | 30c67bf7260a76809d824cb739327d614d5929e0abe8ddce1dc0a62b4779a2b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzM2OjFERjgyMjo3MjczQjo5NEUxMTo2QTUzMjYwMSIsInZpc2l0b3JfaWQiOiI3Mzk5NDk0ODMwNzM0MTQ2NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f8091c0c96e71256059f036e9d786507ab6f28ec44a94175f1bcfee1fe4c6704 |
| hovercard-subject-tag | pull_request:3937527557 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/152229/commits |
| twitter:image | https://opengraph.githubassets.com/60abf84d18c1421fa657fde17d241f6b03d0f7b633b011a8893ae2abc2946167/python/cpython/pull/152229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60abf84d18c1421fa657fde17d241f6b03d0f7b633b011a8893ae2abc2946167/python/cpython/pull/152229 |
| og:image:alt | Because test was simple enough and was always 0 as the memory limit, I decided to include it. Issue: str.replace can crash under memory pressure #152228 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width