• Could not connect to Twitter

New Video Published: Garbage Collection in Python – Part I -

Showmedo is proud to publish:[1431] Garbage Collection in Python – Part I -, a video-tutorial by gasto
This video is part of the series Python from zero.

We view an animated illustration of how the garbage collector collects objects under Python 3.0 . That is, two referrers are created by being associated to the Foo class instance, and the Foo class instance itself its created when at least one referrer is left, destroyed when no referrers to it are left.
the weakref being associated to the Foo instance, at the end of the animation, is not accounted for the reference count (as seen in the refcount counter at the top-right side of the animation).
I type in the class Foo that we will be using in further videos, to explain garbage collection.

Note : the class created here is not intended for any practical purpose. It is just of use for the exercise on learning the concepts behind garbage collection in Python.

Please share:
  • DZone
  • del.icio.us
  • Reddit
  • Furl
  • Ma.gnolia
  • email
  • StumbleUpon
  • Technorati
  • TwitThis
  • Slashdot
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. New Video Published: Garbage Collection in Python – Part I -
  2. New Video Published: Garbage Collection in Python – Part II -
  3. New Video Published: Series Overview in 4 minutes (OpenOffice 3.1 for Word users)
  4. New Video Published: PyConPads
  5. New Video Published: Help! Manuals, Forums and Mail lists

Comments are closed.