Deprecating reload() ???

Michael Hudson mwh at python.net
Mon Mar 15 07:46:49 EST 2004


David MacQuigg <dmq at gain.com> writes:

> On Sat, 13 Mar 2004 14:27:00 -0600, Skip Montanaro <skip at pobox.com>
> wrote:
> 
> >    David> I'm not sure at this point if an improved reload() is worth
> >    David> pursuing, ...
> >
> >I wrote something and threw it up on my Python Bits page:
> >
> >    http://www.musi-cal.com/~skip/python/
> 
> I get AttributeErrors when I try the super_reload function. Looks like
> sys.modules has a bunch of items with no '__dict__'.

They'll be None, mostly.

Cheers,
mwh

-- 
  C++ is a siren song.  It *looks* like a HLL in which you ought to
  be able to write an application, but it really isn't.
                                       -- Alain Picard, comp.lang.lisp



More information about the Python-list mailing list