Message367272
Today I changed my reference count tests to not use debug Python and came across this issue.
From my testing, Python3.4 is the first affected version, Python3.3 was still fine, so were 2.7 and 2.6.
This leaks:
def simpleFunction39():
class Parent(str):
pass
This does not:
def simpleFunction39():
class Parent(object):
pass
When comparing (or attempted to) gc.get_objects() before and after, I was unable to point to any count that would be different, that was confusing. I can rule out a mistake in my changes to how the counts are achieved, because every other reference count test works. |
|
Date |
User |
Action |
Args |
2020-04-25 10:58:24 | kayhayen | set | recipients:
+ kayhayen, georg.brandl, terry.reedy, belopolsky, pitrou, kristjan.jonsson, dstanek, andrea.corbellini, daniel.urban, ysj.ray, BreamoreBoy, warp10 |
2020-04-25 10:58:24 | kayhayen | set | messageid: <1587812304.31.0.889312819693.issue9417@roundup.psfhosted.org> |
2020-04-25 10:58:24 | kayhayen | link | issue9417 messages |
2020-04-25 10:58:24 | kayhayen | create | |
|