Peter Otten <[EMAIL PROTECTED]> wrote:

> 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.

Ah, yes, good point: there's an "off by one" numbering issue there, due
to the fact that the O'Reilly Safari online verbatim version of the book
numbers the preface as "1" while the printed version doesn't, so chapter
1 in the printed version is 2.something on Safari, etc.


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to