summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2022-05-04 01:01:15 (GMT)
committerGitHub <noreply@github.com>2022-05-04 01:01:15 (GMT)
commit6dcfd6c5e3cb46543e82dc3f7234546adf4bb04a (patch)
tree6cf49503df92190b3ee66eca5b5af7a6f22c61f5 /Python/import.c
parentdfb1b9da8a4becaeaed3d9cffcaac41bcaf746f4 (diff)
downloadcpython-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/import.c')
0 files changed, 0 insertions, 0 deletions