On 3/30/2011 5:10 AM, Jean-Michel Pichavant wrote:

3/ if you want to do the 2/ but require a painful long prologue to your
test, then you may want to use the builtin reload. Use it with care,
because any existing object created from the previous module will not be
affected, they'll still hold the previous code. "reload" solves some
problems, but bring others, especially for the newcomer.

Guido removed it in 3.x because it is badly flawed and he could see any way to sensibly fix it.

--
Terry Jan Reedy

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

Reply via email to