Alex Martelli wrote: > Michele Simionato <[EMAIL PROTECTED]> wrote: > >> You want this recipe from Michael Hudson: >> >> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164 >> >> "automatically upgrade class instances on reload()" > > Note that the version in the printed Cookbook (2nd edition) was > substantially enhanced (mostly by me and Michael working together), I > don't know if Michael updated his ASPN recipe to reflect that but at any > rate you can download all the code from the printed Cookbook as a > zipfile from O'Reilly's site (sorry, I don't recall the URL).
http://examples.oreilly.com/pythoncook2/cb2_examples.zip The files are named cb2_6_21_*.py, but the book has the recipe in chapter 20.15. Peter -- http://mail.python.org/mailman/listinfo/python-list