Article of interest: Python pros/cons for the enterprise

Paul Rubin http
Mon Feb 25 16:22:07 CET 2008

Nicola Musatti <nicola.musatti at> writes:
> > However, one of the consequences of programming in this style is
> > you allocate a lot of temporary objects which best managed by GC.
> According to which metric? This statement appears as totally
> gratuitous to me. You seem to forget that deallocation of local
> objects only entails stack readjustment.

Why do you think they are local objects?  They are passed as arguments
to functions that could be storing references elsewhere.

More information about the Python-list mailing list