[Python-Dev] Not able to do unregister a code
Jai Sharma
jai.unix at gmail.com
Thu Sep 15 09:03:47 CEST 2011
Below is reference pattern:
0: _ --- [-] 4 <size = 6280>: 0xa70ca44, 0xa70e79c, 0xe5c602c, 0xe6219bc
1: a [-] 4 tuple: 0xab11c5c*3, 0xe72a43c*3, 0xe73c16c*3, 0xe73c1bc*3
2: aa ---- [-] 4 function: ABC.l_codecs.decode...
3: a3 [S] 2 dict of class: ..Codec, ..Codec
4: aab ---- [-] 4 types.MethodType: <ABC at 0x...
5: aaba [-] 2 tuple: 0xe72a2d4*4, 0xe734d24*4
6: aabaa ---- [-] 2 dict (no owner): 0x9b029bc*2, 0xb789f24cL*6
7: aaba3 [S] 1 dict of class: ..ABC
8: aabaab ---- [-] 1 tuple: 0x9b10f8c*2
9: aabaaba [+] 1 function: ABC.__l_codecs
On Thu, Sep 15, 2011 at 12:26 PM, Jai Sharma <jai.unix at gmail.com> wrote:
> Hi,
>
> I am facing a memory leaking issue with codecs. I make my own ABC class and
> register it with codes.
>
> import codecs
> codecs.register(ABC)
>
> but I am not able to remove ABC from memory. Is there any alternative to do
> that.
>
> Thanks
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110915/d73d6fc7/attachment.html>
More information about the Python-Dev
mailing list