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

2011-09-15 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

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

2011-09-15 Thread Jai Sharma
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

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

2011-09-15 Thread M.-A. Lemburg
Jai Sharma 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. The ABC codec search function gets added to