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-113190: Reenable non-debug interned string cleanup#113601

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
Merged
Changes from1 commit
Commits
Show all changes
19 commits
Select commitHold shift + click to select a range
666ca33
Reenable non-debug interned string cleanup through _PyUnicode_ClearIn…
eduardo-elizondoDec 31, 2023
23d1aff
Revert test changes due to previously leftover leaks
eduardo-elizondoDec 31, 2023
fd9c7ff
Merge remote-tracking branch 'upstream/main' into reenable_unicode_cl…
eduardo-elizondoJan 15, 2024
ed09466
Add documentation
eduardo-elizondoJan 15, 2024
2608119
Lint docs
eduardo-elizondoJan 15, 2024
17e8817
Lint docs v2
eduardo-elizondoJan 15, 2024
dd1e8b4
Lint docs v3
eduardo-elizondoJan 15, 2024
ce5536b
Lint docs v4
eduardo-elizondoJan 15, 2024
071438f
Lint docs v5
eduardo-elizondoJan 15, 2024
afc7c1d
Lint docs v6
eduardo-elizondoJan 15, 2024
2ec1326
Lint docs v7
eduardo-elizondoJan 15, 2024
e8b9b45
Lint docs v8
eduardo-elizondoJan 15, 2024
175bc40
Lint docs v9
eduardo-elizondoJan 15, 2024
ffe9d03
Fix NEWS message
eduardo-elizondoJan 16, 2024
085b93e
Merge in the main branch
encukouJul 19, 2024
080a853
Remove outdated comment
encukouJul 19, 2024
8484c4b
Merge remote-tracking branch 'upstream/main' into reenable_unicode_cl…
eduardo-elizondoAug 11, 2024
6aee7f5
Addressed Comments
eduardo-elizondoAug 11, 2024
dc3b54f
Update whatsnew
encukouAug 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Remove outdated comment
  • Loading branch information
@encukou
encukou committedJul 19, 2024
commit080a8536394586120d661cf6c650c44a5db7b596
13 changes: 1 addition & 12 deletionsObjects/unicodeobject.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -15632,18 +15632,7 @@ _PyUnicode_ClearInterned(PyInterpreterState *interp)
int shared = 0;
switch (PyUnicode_CHECK_INTERNED(s)) {
case SSTATE_INTERNED_IMMORTAL:
/* Make immortal interned strings mortal again.
*
* Currently, the runtime is not able to guarantee that it can exit
* without allocations that carry over to a future initialization
* of Python within the same process. i.e:
* ./python -X showrefcount -c 'import itertools'
* [237 refs, 237 blocks]
*
* This should remain disabled (`Py_DEBUG` only) until there is a
* strict guarantee that no memory will be left after
* `Py_Finalize`.
*/
/* Make immortal interned strings mortal again. */
// Skip the Immortal Instance check and restore
// the two references (key and value) ignored
// by PyUnicode_InternInPlace().
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp