[Python-Dev] is type a usable feature?

Tim Peters tim.peters at gmail.com
Thu Jun 23 18:25:14 CEST 2005


[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.


More information about the Python-Dev mailing list