Title: re.match blocking and taking 100% CPU · Issue #60634 · python/cpython · GitHub
Open Graph Title: re.match blocking and taking 100% CPU · Issue #60634 · python/cpython
X Title: re.match blocking and taking 100% CPU · Issue #60634 · python/cpython
Description: BPO 16430 Nosy @mdickinson, @ezio-melotti, @serhiy-storchaka Superseder bpo-1662581: the re module can perform poorly: O(2n) versus O(n2) Files re_bug.py: Example of the bug Note: these values reflect the state of the issue at the time i...
Open Graph Description: BPO 16430 Nosy @mdickinson, @ezio-melotti, @serhiy-storchaka Superseder bpo-1662581: the re module can perform poorly: O(2n) versus O(n2) Files re_bug.py: Example of the bug Note: these values refl...
X Description: BPO 16430 Nosy @mdickinson, @ezio-melotti, @serhiy-storchaka Superseder bpo-1662581: the re module can perform poorly: O(2n) versus O(n2) Files re_bug.py: Example of the bug Note: these values refl...
Opengraph URL: https://github.com/python/cpython/issues/60634
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"re.match blocking and taking 100% CPU","articleBody":"BPO | [16430](https://bugs.python.org/issue16430)\n--- | :---\nNosy | @mdickinson, @ezio-melotti, @serhiy-storchaka\nSuperseder | \u003cli\u003ebpo-1662581: the re module can perform poorly: O(2**n) versus O(n**2)\u003c/li\u003e\nFiles | \u003cli\u003e[re_bug.py](https://bugs.python.org/file27921/re_bug.py \"Uploaded as text/plain at 2012-11-07.17:00:34 by Sebastien.Estienne\"): Example of the bug\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2012-11-07.17:34:32.818\u003e\ncreated_at = \u003cDate 2012-11-07.17:00:35.683\u003e\nlabels = ['expert-regex', 'invalid']\ntitle = 're.match blocking and taking 100% CPU'\nupdated_at = \u003cDate 2012-11-07.17:35:54.298\u003e\nuser = 'https://bugs.python.org/SebastienEstienne'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-11-07.17:35:54.298\u003e\nactor = 'mark.dickinson'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-11-07.17:34:32.818\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Regular Expressions']\ncreation = \u003cDate 2012-11-07.17:00:35.683\u003e\ncreator = 'Sebastien.Estienne'\ndependencies = []\nfiles = ['27921']\nhgrepos = []\nissue_num = 16430\nkeywords = []\nmessage_count = 3.0\nmessages = ['175109', '175111', '175112']\nnosy_count = 5.0\nnosy_names = ['mark.dickinson', 'ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'Sebastien.Estienne']\npr_nums = []\npriority = 'normal'\nresolution = 'not a bug'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '1662581'\ntype = None\nurl = 'https://bugs.python.org/issue16430'\nversions = ['Python 2.6', 'Python 2.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/SebastienEstienne","@type":"Person","name":"SebastienEstienne"},"datePublished":"2012-11-07T17:00:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/60634/cpython/issues/60634"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0a4011b4-38fa-f981-b1a4-f9ffef500108 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA1E:53234:2C3F022:3E0CC61:6A4F7165 |
| html-safe-nonce | d413ee18aa16fcc6479888c4b76a1b95942bc9713f9246961a3fb959ff1ad5fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTFFOjUzMjM0OjJDM0YwMjI6M0UwQ0M2MTo2QTRGNzE2NSIsInZpc2l0b3JfaWQiOiI4ODU5MTcwMDgxOTMxNzUxNzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7940d3bed919f06cfdede770a1374ba25212b2a32a4553325bbba55341b14600 |
| hovercard-subject-tag | issue:1198890696 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/60634/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbc8f500176d7019ed03f9b4d1276eca0976760b26e26cf77bf3ed6de930f706/python/cpython/issues/60634 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbc8f500176d7019ed03f9b4d1276eca0976760b26e26cf77bf3ed6de930f706/python/cpython/issues/60634 |
| og:image:alt | BPO 16430 Nosy @mdickinson, @ezio-melotti, @serhiy-storchaka Superseder bpo-1662581: the re module can perform poorly: O(2n) versus O(n2) Files re_bug.py: Example of the bug Note: these values refl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SebastienEstienne |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width