[Python-Dev] is type a usable feature?

Paolino paolo_veronelli at libero.it
Thu Jun 23 20:15:30 CEST 2005


Tim Peters wrote:
> [Paolino <paolo_veronelli at libero.it>]
> 
>>Hello developers,I noticed my application was growing strangely while I
>>was using type, then I tried this:
>>
>>while True:
>>  type('A',(),{})
>>
>>and saw memory filling up.Is there a clean solution to that?
>>I see it as a bug in python engeneering,that is why I wrote to you.
> 
> 
> Python bugs should be reported on SourceForge:
> 
>     http://sourceforge.net/tracker/?group_id=5470&atid=105470
> 
> Please specify the Python version and OS.  I do not see memory growth
> running the above under Python 2.3.5 or 2.4.1 on Windows, so I don't
> have any evidence of a bug here in the Pythons I usually use.
> 
Sorry, the growth happens using ipython shell.With python original shell
       there is nothing wrong.



More information about the Python-Dev mailing list