Title: gh-129983: fix data race in compile_template in sre.c by tom-pytel · Pull Request #130015 · python/cpython · GitHub
Open Graph Title: gh-129983: fix data race in compile_template in sre.c by tom-pytel · Pull Request #130015 · python/cpython
X Title: gh-129983: fix data race in compile_template in sre.c by tom-pytel · Pull Request #130015 · python/cpython
Description: I am assuming the conversation was resolved on the side of the atomic? I am not sure about the test added here for 3 reasons: Need to turn off all the other re tests because not everything there is free-thread safe yet. Need to make sure nothing uses re.sub() before this test so that re._compile_template doesn't get cached yet. The test itself is very non-deterministic by its nature, sometimes it will success when it should fail. The other option would be to make a separate test file just for this case? Overkill I think. So opinion on this requested, maybe don't need test for this? Issue: gh-129983
Open Graph Description: I am assuming the conversation was resolved on the side of the atomic? I am not sure about the test added here for 3 reasons: Need to turn off all the other re tests because not everything there i...
X Description: I am assuming the conversation was resolved on the side of the atomic? I am not sure about the test added here for 3 reasons: Need to turn off all the other re tests because not everything there i...
Opengraph URL: https://github.com/python/cpython/pull/130015
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:99093623-9397-f15a-946d-5ab1dbe85bc7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7D0:6E56C:128D1CD:18BE074:6A5426A1 |
| html-safe-nonce | 984af0c05cfa0ff1fce06bb3648b3eccf5fb4c7ceeb5a760333b5ba70a77da1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0QwOjZFNTZDOjEyOEQxQ0Q6MThCRTA3NDo2QTU0MjZBMSIsInZpc2l0b3JfaWQiOiIxMzExNDUyMTg1MjU5OTQzNTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1050e533f621b2543bcee3129b7c2b4be662a9269f74b0d27468dacfc92f2427 |
| hovercard-subject-tag | pull_request:2329699650 |
| 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/130015/files |
| twitter:image | https://avatars.githubusercontent.com/u/51921719?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/51921719?s=400&v=4 |
| og:image:alt | I am assuming the conversation was resolved on the side of the atomic? I am not sure about the test added here for 3 reasons: Need to turn off all the other re tests because not everything there i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width