Message71140
Le jeudi 14 août 2008 à 18:52 +0000, Martin v. Löwis a écrit :
> The patch is really trivial, and attached.
>
> Added file: http://bugs.python.org/file11114/refcount.diff
By the way, even without that patch, there is a memory leak:
Python 3.0b2+ (py3k, Aug 14 2008, 20:49:19)
[GCC 4.3.1 20080626 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, codecs
>>> b = bytearray()
>>> sys.getrefcount(b)
2
>>> codecs.ascii_decode(memoryview(b))
('', 0)
>>> sys.getrefcount(b)
3 |
|
Date |
User |
Action |
Args |
2008-08-14 18:55:35 | pitrou | set | recipients:
+ pitrou, lemburg, loewis, barry, teoliphant, amaury.forgeotdarc, donmez, benjamin.peterson, gpolo |
2008-08-14 18:55:34 | pitrou | link | issue3139 messages |
2008-08-14 18:55:33 | pitrou | create | |
|