[Python-Dev] Not able to do unregister a code

2011-09-14 Thread Jai Sharma
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
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Not able to do unregister a code

2011-09-15 Thread Jai Sharma
Below is reference pattern:

 0: _ --- [-] 4 : 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:  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
>
>
>
>
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com