diff options
author | Inada Naoki <songofacandy@gmail.com> | 2022-05-04 01:01:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 01:01:15 (GMT) |
commit | 6dcfd6c5e3cb46543e82dc3f7234546adf4bb04a (patch) | |
tree | 6cf49503df92190b3ee66eca5b5af7a6f22c61f5 /Python/specialize.c | |
parent | dfb1b9da8a4becaeaed3d9cffcaac41bcaf746f4 (diff) | |
download | cpython-6dcfd6c5e3cb46543e82dc3f7234546adf4bb04a.zip cpython-6dcfd6c5e3cb46543e82dc3f7234546adf4bb04a.tar.gz cpython-6dcfd6c5e3cb46543e82dc3f7234546adf4bb04a.tar.bz2 |
gh-78214: marshal: Stabilize FLAG_REF usage (GH-8226)
Use FLAG_REF always for interned strings.
Refcounts of interned string is very unstable.
When compiling same source, refcounts of interned string in the output may be 1 or >1.
It makes FLAG_REF usage unstable.
To help reproducible build, use FLAG_REF for interned string even if refcnt(obj)==1.
Diffstat (limited to 'Python/specialize.c')
0 files changed, 0 insertions, 0 deletions