[issue3651] eval() leaks 1 reference every time
Christian Heimes
report at bugs.python.org
Sat Aug 23 00:17:55 CEST 2008
Christian Heimes <lists at cheimes.de> added the comment:
The error is inside compile, not eval:
>>> compile("1", "test", "eval")
<code object <module> at 0x7ffe1ce2ed50, file "test", line 1>
[43379 refs]
>>> compile("1", "test", "eval")
<code object <module> at 0x7ffe1ce2e3b0, file "test", line 1>
[43380 refs]
>>> compile("1", "test", "eval")
<code object <module> at 0x7ffe1ce2ed50, file "test", line 1>
[43381 refs]
>>> compile("1", "test", "eval")
<code object <module> at 0x7ffe1ce2e3b0, file "test", line 1>
[43382 refs]
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3651>
_______________________________________
More information about the Python-bugs-list
mailing list