Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-120244: Fixre.sub() reference leak#120245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
serhiy-storchaka merged 3 commits intopython:mainfromneonene:re_sub
Jun 8, 2024
Merged

gh-120244: Fixre.sub() reference leak#120245

serhiy-storchaka merged 3 commits intopython:mainfromneonene:re_sub
Jun 8, 2024

Conversation

@neonene
Copy link
Contributor

@neoneneneonene commentedJun 7, 2024
edited by bedevere-appbot
Loading

>python_d -X showrefcount -c "import re; re.sub(r'()', r'\1', '')"[7140 refs, 4669 blocks]  # Before[0 refs, 0 blocks]        # After

This patch is based on the commit:75a6fad.

cc@serhiy-storchaka

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. Please add a NEWS entry, this is a user visible change.

neonene reacted with thumbs up emoji
@serhiy-storchakaserhiy-storchakaenabled auto-merge (squash)June 8, 2024 09:58
@serhiy-storchakaserhiy-storchaka added needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsJun 8, 2024
@serhiy-storchakaserhiy-storchaka merged commit38a25e9 intopython:mainJun 8, 2024
@miss-islington-app
Copy link

Thanks@neonene for the PR, and@serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 8, 2024
(cherry picked from commit38a25e9)Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
@bedevere-app
Copy link

GH-120264 is a backport of this pull request to the3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 8, 2024
(cherry picked from commit38a25e9)Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJun 8, 2024
@bedevere-app
Copy link

GH-120265 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelJun 8, 2024
@neonene
Copy link
ContributorAuthor

Thanks.

@neoneneneonene deleted the re_sub branchJune 8, 2024 10:25
serhiy-storchaka pushed a commit that referenced this pull requestJun 8, 2024
(cherry picked from commit38a25e9)Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull requestJun 8, 2024
(cherry picked from commit38a25e9)Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull requestJul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@neonene@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp