diff options
author | Mark Shannon <mark@hotpy.org> | 2022-03-04 11:31:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 11:31:29 (GMT) |
commit | 03c2a36b2bd2d4469160d1607619ee144175d753 (patch) | |
tree | 828a98bada6b84ea722ac104da3b7e891f44d4cd /Python/specialize.c | |
parent | 8f31bf46980956c735dd18f9914f3e7144e87c77 (diff) | |
download | cpython-03c2a36b2bd2d4469160d1607619ee144175d753.zip cpython-03c2a36b2bd2d4469160d1607619ee144175d753.tar.gz cpython-03c2a36b2bd2d4469160d1607619ee144175d753.tar.bz2 |
bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r-- | Python/specialize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c index 66dce8c..912b9e2 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -221,6 +221,7 @@ print_object_stats(FILE *out, ObjectStats *stats) fprintf(out, "Object materialize dict (on request): %" PRIu64 "\n", stats->dict_materialized_on_request); fprintf(out, "Object materialize dict (new key): %" PRIu64 "\n", stats->dict_materialized_new_key); fprintf(out, "Object materialize dict (too big): %" PRIu64 "\n", stats->dict_materialized_too_big); + fprintf(out, "Object materialize dict (str subclass): %" PRIu64 "\n", stats->dict_materialized_str_subclass); } static void |