Denes - iPython is just another application; references to objects are handled by Python. It's about what assumptions you want to make about the environment in which you will operate.
Here is not-iPython, showing same kind of thng. If you have complete control of execution envirioment, then you can make predictions about references that may be created; if not, you cannot. $ python Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> class foo(dict): ... pass ... >>> f=foo >>> f <class '__main__.foo'> >>> b=f >>> [k for k,v in vars().items() if v is foo] ['b', 'f', 'foo'] >>> On Sat, Dec 20, 2008 at 10:10 AM, DenesL <denes1...@yahoo.ca> wrote: > > Thank you. > Maybe ipython is the one creating all the "garbage" > I am using web2py -P (plain shell) and I don't get any. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---