On 2011-04-17 20:56, Charles Solar wrote:

Is there something I should be aware of here?

Just that Python uses garbage collection and you mustn't rely on your objects being destroyed at a particular point in the program flow. :-)

Some sort of difference between the global instances and ones defined in a function? Can I do anything so global instances are cleaned up immediately like they are inside functions?

No idea, sorry.

    Stefan


--

      ...ich hab' noch einen Koffer in Berlin...

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to